From: Mark Wooding Date: Wed, 9 Aug 2017 19:46:16 +0000 (+0100) Subject: dot/bashrc: Rename the guard variable back to `__mdw_bashrc'. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/e849519a091cd4d363a42db6ca192d442180eded dot/bashrc: Rename the guard variable back to `__mdw_bashrc'. I think I thought it was going to move with the common definitions, but it didn't. Also, sneakily, set the dummy value to `t'. --- diff --git a/dot/bashrc b/dot/bashrc index 28d9bf9..4f3e5ba 100644 --- a/dot/bashrc +++ b/dot/bashrc @@ -6,9 +6,9 @@ __mdw_shell=bash ## Only do this if we haven't done it before. (Note that this guard isn't ## exported, so subshells will need to make their own arrangements.) -case ${__mdw_shellrc+t} in +case ${__mdw_bashrc+t} in t) ;; - *) __mdw_shellrc=done + *) __mdw_bashrc=t ## Fetch the common configuration. . "$HOME/.shell-rc"