diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index bd4375d..902206f 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -19,3 +19,8 @@ bind 'set bell-style none' bind 'set completion-ignore-case on' bind 'set enable-bracketed-paste off' export PS1="\[\033[01m\]\u@\h\\$\[\033[00m\] " + +if [ -n $_acp_shrc ] +then + . "$HOME/.shrc" +fi diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index 6ffe564..9026947 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -7,6 +7,7 @@ case "$-" in return 1 ;; esac +_acp_shrc=YES if [ -d /var/acp ] then diff --git a/roles/home-cli/files/zshrc b/roles/home-cli/files/zshrc index 9e835f3..357eb2f 100644 --- a/roles/home-cli/files/zshrc +++ b/roles/home-cli/files/zshrc @@ -21,3 +21,8 @@ bindkey "^[OA" history-beginning-search-backward bindkey "^[OB" history-beginning-search-forward export PS1="%B%n@%m%#%b " + +if [ -n $_acp_shrc ] +then + . "$HOME/.shrc" +fi