git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Split PS1 components into .ps1 files.
[profile.git]
/
.profile.d
/
cdpath.bashrc
diff --git
a/.profile.d/cdpath.bashrc
b/.profile.d/cdpath.bashrc
index
4b8fda8
..
68efbff
100644
(file)
--- a/
.profile.d/cdpath.bashrc
+++ b/
.profile.d/cdpath.bashrc
@@
-1
+1
@@
-[ -n "$PROFILE_HOME"
] && CDPATH="${CDPATH:+$CDPATH:}
$PROFILE_HOME"
+[ -n "$PROFILE_HOME"
-a "${CDPATH/:$PROFILE_HOME}" = "$CDPATH" ] && CDPATH="${CDPATH:-.}:
$PROFILE_HOME"