dot/bashrc: Rename the guard variable back to `__mdw_bashrc'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 9 Aug 2017 19:46:16 +0000 (20:46 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 9 Aug 2017 19:46:16 +0000 (20:46 +0100)
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'.

dot/bashrc

index 28d9bf9..4f3e5ba 100644 (file)
@@ -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"