Easy cd to often used dirs.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 16 Mar 2010 23:51:18 +0200
changeset 41 d410aac55409
parent 40 b8185f03f364
child 42 8c7465d5f94d
Easy cd to often used dirs.
.bashrc
--- a/.bashrc	Tue Mar 16 23:44:05 2010 +0200
+++ b/.bashrc	Tue Mar 16 23:51:18 2010 +0200
@@ -13,6 +13,9 @@
 # PS1='\[\e[1m\]\h:\w\$\[\e[0m\] '
 PS1='bash# '
 
+# Easy cd to often used dirs.
+export CDPATH=.:~:~/devel:~/devel/gav-devel
+
 # Don't store duplicate adjacent items in the history.
 #   ignorespace     do not save lines that start with space
 #   erasedups       all previous lines matching the current line to be removed from