diff --git a/dotfiles/shrc b/dotfiles/shrc index 4e86f4a..f5d2d53 100644 --- a/dotfiles/shrc +++ b/dotfiles/shrc @@ -77,11 +77,8 @@ if command -v calendar >/dev/null && [ -f ~/.calendar/calendar ]; then calendar fi -_host=$(hostname 2>/dev/null) -_host=${_host%%.*} -if [ -n "$_host" ] && [ -f ~/.shrc."$_host" ]; then - . ~/.shrc."$_host" +if [ -s ~/.shrc.local ]; then + . ~/.shrc.local fi -unset _host set -o emacs