update(fish): new aliases for git operations

This commit is contained in:
juancwu 2022-12-18 17:56:07 -05:00
commit e030c86e43
No known key found for this signature in database

View file

@ -30,6 +30,18 @@ if type -q exa
alias lla "ll -a" alias lla "ll -a"
end end
alias cc clear
if type -q git
alias g git
alias gb "git branch"
alias gc "git commit"
alias gs "git status"
alias gp "git push"
alias ga "git add"
alias gx "git stash"
end
# allow local config overwrite # allow local config overwrite
set LOCAL_CONFIG (dirname (status --current-file))/config-local.fish set LOCAL_CONFIG (dirname (status --current-file))/config-local.fish
if test -f $LOCAL_CONFIG if test -f $LOCAL_CONFIG