Set CDPATH.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 14 Aug 2011 22:35:11 +0300
changeset 181 11880eae9332
parent 180 176106ed8e46
child 182 af9e9693646e
child 184 d9cbebffa8fa
Set CDPATH.
.bashrc
.zshrc
--- a/.bashrc	Sun Aug 14 22:25:13 2011 +0300
+++ b/.bashrc	Sun Aug 14 22:35:11 2011 +0300
@@ -14,7 +14,7 @@
 PS1='bash# '
 
 # Easy cd to often used dirs.
-export CDPATH=.:~:~/devel:~/devel/my-devel
+CDPATH=.:~:~/devel:~/devel/my-devel
 
 # Don't store duplicate adjacent items in the history.
 #   ignorespace     do not save lines that start with space
--- a/.zshrc	Sun Aug 14 22:25:13 2011 +0300
+++ b/.zshrc	Sun Aug 14 22:35:11 2011 +0300
@@ -3,6 +3,9 @@
 
 PS1='zsh# '
 
+# Easy cd to often used dirs.
+CDPATH=.:~:~/devel:~/devel/my-devel
+
 HISTFILE=~/.histfile
 HISTSIZE=1000
 SAVEHIST=1000