Remove and swap out some bash specific logic

This commit is contained in:
2018-08-08 13:39:47 +01:00
parent 13cc86f973
commit f8f7e822a9
4 changed files with 4 additions and 15 deletions

View File

@@ -20,12 +20,6 @@ alias gix="gitx"
alias gx="gitx"
# Git Completion
if [ -n "$BASH_VERSION" ]; then
if [ -f "/usr/local/etc/bash_completion.d/git-completion.bash" ]; then
source "/usr/local/etc/bash_completion.d/git-completion.bash"
fi
# Only needed for Bash. Zsh is much smarter with it's auto-completion ^_^
complete -o default -o nospace -F _git g
complete -o default -o nospace -F _git gi
if [ -d "/usr/local/share/zsh/site-functions" ]; then
fpath=("/usr/local/share/zsh/site-functions" "${fpath[@]}")
fi