renaming $PROJECTS to $CODE_DIR

This is for the 'c' shortcut.
This commit is contained in:
Nick Nisi
2012-09-20 15:07:33 -05:00
parent b4724b5ceb
commit 5b5006614d
3 changed files with 4 additions and 4 deletions

View File

@@ -1,2 +1,2 @@
#compdef c
_files -W $PROJECTS -/
_files -W $CODE_DIR -/

View File

@@ -1 +1 @@
cd $PROJECTS/$1
cd $CODE_DIR/$1

View File

@@ -1,9 +1,9 @@
export ZSH=$HOME/.dotfiles
if [[ -d ~/gitprojects ]]; then
export PROJECTS=~/gitprojects
export CODE_DIR=~/gitprojects
else
export PROJECTS=~/projects
export CODE_DIR=~/projects
fi
# load all zsh config files