mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 10:13:37 +08:00
12 lines
263 B
Bash
12 lines
263 B
Bash
# hub alias from defunkt
|
|
# https://github.com/defunkt/hub
|
|
if [ "$commands[(I)hub]" ]; then
|
|
# eval `hub alias -s zsh`
|
|
function git(){hub "$@"}
|
|
fi
|
|
|
|
# add github completion function to path
|
|
fpath=($ZSH/plugins/github $fpath)
|
|
autoload -U compinit
|
|
compinit -i
|