Simplify hub check and hardcode aliasing (#6767)

* Simplify hub check and hardcode aliasing

* Update hub completion
This commit is contained in:
Marc Cornellà
2018-04-24 22:02:58 +02:00
committed by GitHub
parent 45a9f28464
commit ef70990ce1
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,6 @@
# Set up hub wrapper for git, if it is available; http://github.com/github/hub
if [ "$commands[(I)hub]" ]; then
if hub --version &>/dev/null; then
eval $(hub alias -s zsh)
fi
if (( $+commands[hub] )); then
alias git=hub
fi
# Functions #################################################################