This commit is contained in:
DarthMooMancer
2025-11-19 00:39:42 -05:00
parent 078e0749ab
commit 8f91c3efb4
2 changed files with 20 additions and 5 deletions
+17 -2
View File
@@ -29,11 +29,26 @@ autoload -Uz _zinit
export PATH="$HOME/.local/bin:$PATH"
create-repo() {
printf "Repo name: "
read -r name || return
[ -z "$name" ] && { echo "No name given"; return; }
remote_path="hub/$name.git"
ssh git "
mkdir -p '/home/git/$remote_path' &&
git init --bare '/home/git/$remote_path' &&
cp '/home/git/hub/dotfiles.git/hooks/post-receive' '/home/git/$remote_path/hooks/'
" && echo "Created git:$remote_path"
ssh git set-desc "$name.git" "$desc"
}
alias ls="ls -a --color"
alias grep="rg"
alias comp="make && doas make install && make clean"
alias update_world='doas emerge --ask --update --newuse --deep @world'
if [[ $(uname) != "Darwin" ]]; then
alias update_world='doas emerge --ask --update --newuse --deep @world'
alias env="sh /home/andrew/personal/dotfiles/env_linux.sh"
myfetch.sh
else