dot/bashrc, dot/zshrc: Promote invoking the common config.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 21 Apr 2020 11:51:05 +0000 (12:51 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 21 Apr 2020 11:51:05 +0000 (12:51 +0100)
There's going to be more machinery added around here.

dot/bashrc
dot/zshrc

index 3053c66..9e872f5 100644 (file)
@@ -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.
index 8cedc67..a43697d 100644 (file)
--- 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"
 
 ###--------------------------------------------------------------------------