Moving all autoenv logic to the plugin file.

-Some of this was previously located in the directories lib.

-Also unsetting the cd override function created by autoenv and replacing
 it with a zsh hook.
This commit is contained in:
Josh Matthews 2013-05-23 11:51:08 -04:00
commit e34c6f9fe1
2 changed files with 8 additions and 3 deletions

View file

@ -30,9 +30,6 @@ cd () {
cd ../../../..
elif [[ "x$*" == "x......" ]]; then
cd ../../../../..
elif [ -d ~/.autoenv ]; then
source ~/.autoenv/activate.sh
autoenv_cd "$@"
else
builtin cd "$@"
fi