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
commit ef70990ce1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 #################################################################