From 0ff1b3e92a1ff13ba4f5c23d8bea9c15f4a09bb0 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 2 Jun 2014 10:25:17 +0100 Subject: [PATCH] Add PROFILE_HOME to CDPATH. Append PROFILE_HOME to CDPATH so we can easily cd to it having become another user. --- .profile.d/cdpath.bashrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .profile.d/cdpath.bashrc diff --git a/.profile.d/cdpath.bashrc b/.profile.d/cdpath.bashrc new file mode 100644 index 0000000..4b8fda8 --- /dev/null +++ b/.profile.d/cdpath.bashrc @@ -0,0 +1 @@ +[ -n "$PROFILE_HOME" ] && CDPATH="${CDPATH:+$CDPATH:}$PROFILE_HOME" -- 2.7.4