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
|
||||
|
||||
_acp_add_path () {
|
||||
if ! [[ "$PATH" =~ "$1:" ]] && test -d "$1"
|
||||
if ! [[ ":$PATH" =~ ":$1:" ]] && test -d "$1"
|
||||
then
|
||||
PATH="$1:$PATH"
|
||||
fi
|
||||
export PATH
|
||||
}
|
||||
|
||||
for dir in "$HOME/bin" \
|
||||
for dir in "/$USER/bin" \
|
||||
"$HOME/bin" \
|
||||
"$HOME/.cargo/bin" \
|
||||
"$HOME/opt/centos-git-common" \
|
||||
/usr/local/sbin \
|
||||
|
@ -213,3 +214,5 @@ if [ -r "$HOME/.bashrc.local" ]
|
|||
then
|
||||
. "$HOME/.bashrc.local"
|
||||
fi
|
||||
|
||||
echo "LANG=$LANG"
|
||||
|
|
Loading…
Reference in a new issue