From 564568bfd407d4897ef5964d88c310d8fde625d8 Mon Sep 17 00:00:00 2001 From: jilles Date: Fri, 10 Jun 2011 13:47:11 +0000 Subject: 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. MFC after: 1 week --- share/skel/dot.shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/skel') diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc index 7349169..ea32f35 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 -- cgit v1.1