summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-04-23 20:33:50 -0700
committerRobby Russell <robby@planetargon.com>2013-04-23 20:33:50 -0700
commit685c746cc7bdc2dc8c38af5c00b4ed14c88ea227 (patch)
tree9a9477621960afb539b0a80c825d849984b9954e /lib
parenta2c8db9eb34480dd3e2c9d91d4415ee7964d4764 (diff)
parent4c91f6d13e32d7389cae299d96f6778451a45fc8 (diff)
downloadzsh-685c746cc7bdc2dc8c38af5c00b4ed14c88ea227.tar.gz
zsh-685c746cc7bdc2dc8c38af5c00b4ed14c88ea227.tar.bz2
zsh-685c746cc7bdc2dc8c38af5c00b4ed14c88ea227.zip
Merge pull request #1565 from serdardalgic/autoenv-plugin
Add autoenv plugin, which adopts using Kenneth Reitz's autoenv.
Diffstat (limited to 'lib')
-rw-r--r--lib/directories.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/directories.zsh b/lib/directories.zsh
index b3a478d47..1896945f4 100644
--- a/lib/directories.zsh
+++ b/lib/directories.zsh
@@ -30,6 +30,9 @@ cd () {
cd ../../../..
elif [[ "x$*" == "x......" ]]; then
cd ../../../../..
+ elif [ -d ~/.autoenv ]; then
+ source ~/.autoenv/activate.sh
+ autoenv_cd "$@"
else
builtin cd "$@"
fi