From e030c86e4326fd0b097b3e2de64560d94503e53c Mon Sep 17 00:00:00 2001 From: juancwu <46619361+juancwu@users.noreply.github.com> Date: Sun, 18 Dec 2022 17:56:07 -0500 Subject: [PATCH] update(fish): new aliases for git operations --- .config/fish/config.fish | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index ef8cbf7..f11626e 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -30,6 +30,18 @@ if type -q exa alias lla "ll -a" 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 set LOCAL_CONFIG (dirname (status --current-file))/config-local.fish if test -f $LOCAL_CONFIG