chiark / gitweb /
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 28d9bf960d72b0155e407c787883b82ea69d6a3a..4f3e5ba83a3aaf7f3c13585d704bd2a99415b6da 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"