2021-02-20 22:59:54 +00:00
|
|
|
#!/bin/bash
|
|
|
|
export ACP_BASH_PROFILE=1
|
|
|
|
|
|
|
|
if [ -r /etc/profile ]
|
|
|
|
then
|
|
|
|
. /etc/profile
|
|
|
|
fi
|
|
|
|
|
|
|
|
export BASH_ENV="$HOME/.bashrc"
|
|
|
|
export BLOCKSIZE=K
|
|
|
|
export EDITOR=vi
|
|
|
|
export LANG=C
|
|
|
|
export PAGER=less
|
|
|
|
|
|
|
|
if [ -r "$HOME/.bash_profile.$(hostname -s)" ]
|
|
|
|
then
|
|
|
|
. "$HOME/.bash_profile.$(hostname -s)"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -z "$ACP_BASHRC" ] || [ -n "$SSH_TTY" ]
|
|
|
|
then
|
|
|
|
. "$HOME/.bashrc"
|
2019-10-03 10:50:19 +00:00
|
|
|
fi
|