Try loading all files properly again

This commit is contained in:
Anthony Rose 2022-09-10 23:29:47 +01:00
parent d1182673b8
commit 9d80e129dc
4 changed files with 12 additions and 1 deletions

View file

@ -19,3 +19,8 @@ bind 'set bell-style none'
bind 'set completion-ignore-case on' bind 'set completion-ignore-case on'
bind 'set enable-bracketed-paste off' bind 'set enable-bracketed-paste off'
export PS1="\[\033[01m\]\u@\h\\$\[\033[00m\] " export PS1="\[\033[01m\]\u@\h\\$\[\033[00m\] "
if [ -r "$HOME/.shrc" ]
then
. "$HOME/.shrc"
fi

View file

@ -49,7 +49,7 @@ then
. "$HOME/.profile.$(hostname -s)" . "$HOME/.profile.$(hostname -s)"
fi fi
if [ -r "$HOME/.shrc" ] if [ -z $_acp_shrc ]
then then
. "$HOME/.shrc" . "$HOME/.shrc"
fi fi

View file

@ -7,6 +7,7 @@ case "$-" in
return 1 return 1
;; ;;
esac esac
export _acp_shrc=YES
if [ -d /var/acp ] if [ -d /var/acp ]
then then

View file

@ -21,3 +21,8 @@ bindkey "^[OA" history-beginning-search-backward
bindkey "^[OB" history-beginning-search-forward bindkey "^[OB" history-beginning-search-forward
export PS1="%B%n@%m%#%b " export PS1="%B%n@%m%#%b "
if [ -r "$HOME/.shrc" ]
then
. "$HOME/.shrc"
fi