Remove the home directory from $cdpath

It is not necessary to add the home directory to cdpath.

Since nothing is added to $cdpath by default, comment it out.
This commit is contained in:
Sorin Ionescu 2012-05-31 21:59:36 -04:00
parent 5a88276e79
commit 333927ac3b

View file

@ -13,10 +13,9 @@ typeset -gU cdpath fpath mailpath manpath path
typeset -gUT INFOPATH infopath typeset -gUT INFOPATH infopath
# Set the the list of directories that cd searches. # Set the the list of directories that cd searches.
cdpath=( # cdpath=(
$HOME # $cdpath
$cdpath # )
)
# Set the list of directories that info searches for manuals. # Set the list of directories that info searches for manuals.
infopath=( infopath=(