dotfiles/.zsh.d/git.zsh

14 lines
222 B
Bash

: git-completion && {
autoload bashcompinit
bashcompinit
case ${OSTYPE} in
linux*)
# for Linux
if [ -f ~/.git-completion.bash ]; then
source ~/.git-completion.bash
fi
;;
esac
}