From: Mark Wooding Date: Tue, 21 Apr 2020 11:51:05 +0000 (+0100) Subject: dot/bashrc, dot/zshrc: Promote invoking the common config. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/3b41df910f9e316e0f51d6bb10d01c0432ce0fb9 dot/bashrc, dot/zshrc: Promote invoking the common config. There's going to be more machinery added around here. --- diff --git a/dot/bashrc b/dot/bashrc index 3053c66..9e872f5 100644 --- a/dot/bashrc +++ b/dot/bashrc @@ -10,9 +10,14 @@ case ${__mdw_bashrc+t} in t) ;; *) __mdw_bashrc=t -## Fetch the common configuration. +###-------------------------------------------------------------------------- +### Common shell configuration. + . "$HOME/.shell-rc" +###-------------------------------------------------------------------------- +### Other preliminaries. + ## If we've not run the main profile yet, we should do that first. It sets ## up things we rely on. Also, if there's a system script, we should run ## that too. diff --git a/dot/zshrc b/dot/zshrc index 8cedc67..a43697d 100644 --- a/dot/zshrc +++ b/dot/zshrc @@ -5,6 +5,9 @@ __mdw_shell=zsh case ${INSIDE_EMACS+t},$TERM in t,dumb) unsetopt zle ;; esac +###-------------------------------------------------------------------------- +### Common shell configuration. + . "$HOME/.shell-rc" ###--------------------------------------------------------------------------