From 49dca42056f789041983d35d3798cce91934e06a Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Wed, 17 Aug 2016 15:00:37 +0700 Subject: [PATCH] Remove "gh" alias --- lib/git/aliases.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/git/aliases.sh b/lib/git/aliases.sh index d09db2c..0dad159 100644 --- a/lib/git/aliases.sh +++ b/lib/git/aliases.sh @@ -20,7 +20,9 @@ unset -f git > /dev/null 2>&1 export _git_cmd="$(\which git)" # Wrap git with the 'hub' github wrapper, if installed (https://github.com/defunkt/hub) if type hub > /dev/null 2>&1; then export _git_cmd="hub"; fi -if type gh > /dev/null 2>&1; then export _git_cmd="gh"; fi + +# gh is now deprecated, and merged into the `hub` command line tool. +#if type gh > /dev/null 2>&1; then export _git_cmd="gh"; fi # Create 'git' function that calls hub if defined, and expands all numeric arguments function git(){