update(fish): new aliases for git operations
This commit is contained in:
parent
d26ec52b42
commit
e030c86e43
1 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue