Added some completion scripts and updated some zsh config

This commit is contained in:
Nick Nisi
2012-07-03 09:42:18 -05:00
parent e23ce75e4e
commit 7ef38eba7c
9 changed files with 25 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
export ZSH=$HOME/.dotfiles
export PROJECTS=~/projects
if [[ -d ~/gitprojects ]]; then
export PROJECTS=~/gitprojects
else
@@ -13,14 +15,12 @@ if [[ -a ~/.localrc ]]; then
source ~/.localrc
fi
# reload zsh config
alias reload!='source ~/.zshrc'
# initialize autocomplete
autoload -U compinit
compinit
# for config ($ZSH/**/completion.sh) source $config
for config ($ZSH/**/completion.sh) source $config
export EDITOR='vim'