gh to alias ghm

pull/1499/head
Jeremy Mathevet 2020-04-27 11:45:19 +08:00
parent f0af4fd601
commit 91a96a4af2
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ alias gswt="git switch --track"
# Git home # Git home
alias ghm='cd "$(git rev-parse --show-toplevel)"' alias ghm='cd "$(git rev-parse --show-toplevel)"'
if ! _command_exists gh; then if ! _command_exists gh; then
alias gh='cd "$(git rev-parse --show-toplevel)"' alias gh='ghm'
fi fi
# Show untracked files # Show untracked files
alias gu='git ls-files . --exclude-standard --others' alias gu='git ls-files . --exclude-standard --others'