From 665460254d51b7d0c89a75f19d823315eada2576 Mon Sep 17 00:00:00 2001 From: jilles Date: Mon, 25 Jul 2011 21:58:39 +0000 Subject: [PATCH] MFC r222932: skel/.shrc: Improve commented CDPATH example for POSIX requirements. POSIX says an empty entry in CDPATH shall not result in the new directory being printed, while any non-empty entry shall result in the new directory being printed, including ".". Therefore, the value of CDPATH should almost always start with a colon, not dot and colon. Our sh does not print the name for empty entries as well as "." entries. git-svn-id: svn://svn.freebsd.org/base/stable/8@224409 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- share/skel/dot.shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc index 73491698e..ea32f3578 100644 --- a/share/skel/dot.shrc +++ b/share/skel/dot.shrc @@ -44,4 +44,4 @@ alias g='egrep -i' # esac # search path for cd(1) -# CDPATH=.:$HOME +# CDPATH=:$HOME -- 2.45.0