File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 10
10
# ~/.bash_profile. Personal aliases and functions should go into
11
11
# ~/.bashrc.
12
12
13
-
14
- export PATH MANPATH
13
+ # Set up PATH and MANPATH
14
+ unset PATH MANPATH
15
15
_IFS='
16
16
' # $' \t\n'
17
17
IFS='
@@ -27,15 +27,16 @@ IFS="$_IFS"
27
27
28
28
: ${PATH=/ bin:/ sbin:/ usr/ bin:/ usr/ sbin:/ usr/ local/ bin:/ usr/ local/ sbin}
29
29
: ${MANPATH=/ usr/ share/ man:/ usr/ local/ share/ man}
30
+ export PATH MANPATH
30
31
31
32
# Setup some environment variables.
32
33
export HISTFILESIZE=4096
33
34
34
35
# Timezone variable $TZ, Wine and stuff alike need it.
35
- export TZ=" $( readlink /etc/localtime | sed ' s/^\.\.//g' | sed " s/\/ usr\ /share\ /zoneinfo\/// " ) "
36
+ export TZ=" $( readlink /etc/localtime | sed -e ' s/^\.\.//g' -e ' s@/ usr/share/zoneinfo/@@ ' ) "
36
37
37
38
for script in /etc/profile.d/* ; do
38
- [ -r $script ] && . $script
39
+ [ -r $script ] && . " $script "
39
40
done
40
41
41
42
# Now to clean up
You can’t perform that action at this time.
0 commit comments