alias spa="sudo $ps"
unset ps
## git
+alias gd='git diff'
alias gdh='git diff HEAD'
alias ga='git add'
alias gc='git commit'
alias gca='git commit --amend'
alias gp='git push'
+alias gu='git pull'
## cd/zoxide
function up {
\cd $(printf '../%.0s' {1..${1:-1}})
eval "${$(zoxide init zsh):s#_files -/#_cd#}"
alias cd=z
}
+## dotfiles
+alias dfu='d=${$(echo ~/.zshenv):P:h:h};GIT_DIR=$d/.git GIT_WORK_TREE=$d git pull'
### hooks
autoload -Uz add-zsh-hook