From 4a2c6e7ee28b37d504c4e3592d359a2f18cdce55 Mon Sep 17 00:00:00 2001 From: sorsasampo <35061338+sorsasampo@users.noreply.github.com> Date: Wed, 21 Mar 2018 16:22:40 +0000 Subject: [PATCH] Comment out CDPATH by default CDPATH="." has no effect besides making cd print out the directory being changed to. With only one entry in CDPATH, this serves no purpose and is completely extraneous. --- sensible.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensible.bash b/sensible.bash index a306610..5c865b8 100644 --- a/sensible.bash +++ b/sensible.bash @@ -92,7 +92,7 @@ shopt -s cdspell 2> /dev/null # This defines where cd looks for targets # Add the directories you want to have fast access to, separated by colon # Ex: CDPATH=".:~:~/projects" will look for targets in the current working directory, in home and in the ~/projects folder -CDPATH="." +# CDPATH="." # This allows you to bookmark your favorite places across the file system # Define a variable containing a path and you will be able to cd into it regardless of the directory you're in