bashrc & zshrc & xsessionrc: type PATH my myself for fun (ends to :$PATH)

This commit is contained in:
Mika Suomalainen 2012-12-28 14:35:54 +02:00
parent 2ca928f147
commit 887df4a5ed
3 changed files with 3 additions and 3 deletions

2
bashrc
View File

@ -167,7 +167,7 @@ fi
#export TZ="/usr/share/zoneinfo/Europe/Helsinki" # MKAYSIGREP #MKAYSIGREPENVIRONMENT
# Sets PATH. To add another path, add :</path/to/new/path> to string below.
PATH=$HOME/.local/bin/:$HOME/.local/sbin/:$HOME/.local/games/:/opt/local/bin/:/opt/local/sbin:/opt/local/games/:$PATH
PATH=/bin/:/sbin/:/games/:$HOME/.local/bin/:$HOME/.local/sbin/:$HOME/.local/games/:/opt/local/bin/:/opt/local/sbin/:/opt/local/games/:/usr/local/bin/:/usr/local/sbin:/usr/local/games/:/usr/bin/:/usr/sbin/:/usr/games/:$PATH
# "Changes" home directory without root. Uncomment both lines below this.
#export HOME=<path to new home>

View File

@ -1,4 +1,4 @@
PATH=$HOME/.local/bin/:$HOME/.local/sbin/:$HOME/.local/games/:/opt/local/bin/:/opt/local/sbin:/opt/local/games/:$PATH
PATH=/bin/:/sbin/:/games/:$HOME/.local/bin/:$HOME/.local/sbin/:$HOME/.local/games/:/opt/local/bin/:/opt/local/sbin/:/opt/local/games/:/usr/local/bin/:/usr/local/sbin:/usr/local/games/:/usr/bin/:/usr/sbin/:/usr/games/:$PATH
# Sets environment variable CPUARCH to output of "uname -p" & UNAME to "uname"
UNAME=`uname`

2
zshrc
View File

@ -99,7 +99,7 @@ fi
# export TZ="/usr/share/zoneinfo/Europe/Helsinki" # MKAYSIGREP # MKAYSIGREPENVIRONMENT
# Sets PATH. To add another path, add :</path/to/new/path> to string below.
PATH=$HOME/.local/bin/:$HOME/.local/sbin/:$HOME/.local/games/:/opt/local/bin/:/opt/local/sbin:/opt/local/games/:$PATH
PATH=/bin/:/sbin/:/games/:$HOME/.local/bin/:$HOME/.local/sbin/:$HOME/.local/games/:/opt/local/bin/:/opt/local/sbin/:/opt/local/games/:/usr/local/bin/:/usr/local/sbin:/usr/local/games/:/usr/bin/:/usr/sbin/:/usr/games/:$PATH
# "Changes" home directory without root. Uncomment both lines below this.
#export HOME=<path to new home>