diff --git a/fish.configlink/functions/abbrs.fish b/fish.configlink/functions/abbrs.fish index 1dc7f97..b77cc39 100644 --- a/fish.configlink/functions/abbrs.fish +++ b/fish.configlink/functions/abbrs.fish @@ -35,7 +35,7 @@ function abbrs --description 'All abbreviations' abbr -a gl 'git log --graph --decorate --oneline -20' abbr -a gll 'git log --graph --decorate --oneline' abbr -a gco 'git checkout' - abbr -a gcom 'git checkout master' + abbr -a gcom 'git checkout (git symbolic-ref refs/remotes/origin/HEAD | cut -d"/" -f4)' abbr -a gcob 'git checkout -b' abbr -a gb 'git branch' abbr -a gbd 'git branch -d'