Update oh-my-zsh

This commit is contained in:
2013-12-28 11:30:11 +00:00
parent 88ab582f3d
commit 73751408bf
3 changed files with 7 additions and 7 deletions

View File

@@ -24,12 +24,12 @@ alias gix="gitx"
alias gx="gitx"
# Git Completion
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 ^_^
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
fi

View File

@@ -34,7 +34,7 @@ DISABLE_AUTO_TITLE="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(brew bundler cake cap gem heroku node nyan osx powder python rails3 \
plugins=(brew bundler cake cap gem heroku node nyan osx powder python rails \
ruby thor vagrant)
source "$ZSH/oh-my-zsh.sh"