git (bugfix): replace _command_exists with _binary_exists

pull/1894/head
Gurkirat Singh 2021-06-13 04:56:49 +05:30
parent 2444a57cc5
commit 257b979e03
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ alias ggui='git gui'
# home # home
alias ghm='cd "$(git rev-parse --show-toplevel)"' # Git home alias ghm='cd "$(git rev-parse --show-toplevel)"' # Git home
# appendage to ghm # appendage to ghm
if ! _command_exists gh; then if ! _binary_exists gh; then
alias gh='ghm' alias gh='ghm'
fi fi