mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 15:26:43 +01:00
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
This commit is contained in:
parent
a49dcb469c
commit
4ae95455e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222932
@ -44,4 +44,4 @@ alias g='egrep -i'
|
||||
# esac
|
||||
|
||||
# search path for cd(1)
|
||||
# CDPATH=.:$HOME
|
||||
# CDPATH=:$HOME
|
||||
|
Loading…
Reference in New Issue
Block a user