mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-09 15:05:16 +02:00
Simplify hub check and hardcode aliasing (#6767)
* Simplify hub check and hardcode aliasing * Update hub completion
This commit is contained in:
@ -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 #################################################################
|
||||
|
Reference in New Issue
Block a user