Check if .shrc is actually loaded
This commit is contained in:
parent
fb04b0d826
commit
65dd88967f
3 changed files with 11 additions and 0 deletions
|
@ -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 [ -n $_acp_shrc ]
|
||||||
|
then
|
||||||
|
. "$HOME/.shrc"
|
||||||
|
fi
|
||||||
|
|
|
@ -7,6 +7,7 @@ case "$-" in
|
||||||
return 1
|
return 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
_acp_shrc=YES
|
||||||
|
|
||||||
if [ -d /var/acp ]
|
if [ -d /var/acp ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -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 [ -n $_acp_shrc ]
|
||||||
|
then
|
||||||
|
. "$HOME/.shrc"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue