From d1182673b830c812dde05173ebb0de596dc62786 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sat, 10 Sep 2022 23:21:51 +0100 Subject: [PATCH] Revert "Check if .shrc is actually loaded" This reverts commit 65dd88967f74fcbf5e915edf2f065225f1776bef. --- roles/home-cli/files/bashrc | 5 ----- roles/home-cli/files/shrc | 1 - roles/home-cli/files/zshrc | 5 ----- 3 files changed, 11 deletions(-) diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index 902206f..bd4375d 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -19,8 +19,3 @@ 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 9026947..6ffe564 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -7,7 +7,6 @@ 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 357eb2f..9e835f3 100644 --- a/roles/home-cli/files/zshrc +++ b/roles/home-cli/files/zshrc @@ -21,8 +21,3 @@ 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