Set CDPATH.
--- 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