add dotfiles-update command

This commit is contained in:
eneller
2021-12-10 14:43:39 +01:00
parent ce04058c44
commit e1c2b7b5ee
2 changed files with 4 additions and 0 deletions

1
.zshrc
View File

@@ -69,6 +69,7 @@ alias vi='nvim' # Show sizes in
alias notify='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
#Add a "dotfiles" alias for .dotfile git repo
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias 'dotfiles-update'='dotfiles commit -a && dotfiles push'
#KEYBINDINGS SECTION (use 'cat -v' or 'od -c' to see raw keyboard output)