mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
16 lines
253 B
Bash
16 lines
253 B
Bash
# add github completion function to path
|
|
fpath=($ZSH/plugins/github $fpath)
|
|
autoload -U compinit
|
|
compinit -i
|
|
|
|
|
|
# git + hub = github
|
|
# https://github.com/defunkt/hub
|
|
function git()
|
|
{
|
|
if [ -x $(which hub) ]; then
|
|
hub "$@"
|
|
else
|
|
git "$@"
|
|
fi
|
|
}
|