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 5c69a7e commit 6f3f5c7Copy full SHA for 6f3f5c7
profile
@@ -10,17 +10,19 @@
10
# ~/.bash_profile. Personal aliases and functions should go into
11
# ~/.bashrc.
12
13
+
14
+export PATH MANPATH
15
_IFS="$IFS" IFS='
16
'
-export PATH MANPATH
-
17
for pth in $(cat /etc/paths.d/._* /etc/paths /etc/paths.d/*); do
18
[ "${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
[ "${pth:0:1}" != '#' ] && MANPATH="$MANPATH:$pth"
23
24
+IFS="$_IFS"
25
26
: ${PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin}
27
: ${MANPATH=/usr/share/man:/usr/local/share/man}
28
@@ -36,5 +38,4 @@ done
36
38
37
39
# Now to clean up
40
unset pth script
-IFS="$_IFS"
41
# End /etc/profile
0 commit comments