Add /acp/bin to PATH and print LANG at login
This commit is contained in:
parent
6501303448
commit
251913e5db
1 changed files with 5 additions and 2 deletions
|
@ -21,14 +21,15 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_acp_add_path () {
|
_acp_add_path () {
|
||||||
if ! [[ "$PATH" =~ "$1:" ]] && test -d "$1"
|
if ! [[ ":$PATH" =~ ":$1:" ]] && test -d "$1"
|
||||||
then
|
then
|
||||||
PATH="$1:$PATH"
|
PATH="$1:$PATH"
|
||||||
fi
|
fi
|
||||||
export PATH
|
export PATH
|
||||||
}
|
}
|
||||||
|
|
||||||
for dir in "$HOME/bin" \
|
for dir in "/$USER/bin" \
|
||||||
|
"$HOME/bin" \
|
||||||
"$HOME/.cargo/bin" \
|
"$HOME/.cargo/bin" \
|
||||||
"$HOME/opt/centos-git-common" \
|
"$HOME/opt/centos-git-common" \
|
||||||
/usr/local/sbin \
|
/usr/local/sbin \
|
||||||
|
@ -213,3 +214,5 @@ if [ -r "$HOME/.bashrc.local" ]
|
||||||
then
|
then
|
||||||
. "$HOME/.bashrc.local"
|
. "$HOME/.bashrc.local"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "LANG=$LANG"
|
||||||
|
|
Loading…
Reference in a new issue