We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7b15f8 commit 30c68a8Copy full SHA for 30c68a8
profile
@@ -15,11 +15,11 @@ _IFS="$IFS" IFS='
15
export PATH MANPATH
16
17
for pth in $(cat /etc/paths.d/._* /etc/paths /etc/paths.d/*); do
18
- PATH="$PATH:$pth"
+ [ "${pth:0:1}" != '#' ] && PATH="$PATH:$pth"
19
done 2>/dev/null
20
21
for pth in $(cat /etc/manpaths.d/._* /etc/manpaths /etc/manpaths.d/*); do
22
- MANPATH="$MANPATH:$pth"
+ [ "${pth:0:1}" != '#' ] && MANPATH="$MANPATH:$pth"
23
24
: ${PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin}
25
: ${MANPATH=/usr/share/man:/usr/local/share/man}
0 commit comments