Quellcode durchsuchen

Source shell local settings after all others

This way local aliases can override existing ones if need be. Local
environmental variables should not matter for the dotfiles settings.
Weiyi Lou vor 9 Jahren
Ursprung
Commit
590a06e162
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 2 2
      shell/bashrc
  2. 2 2
      shell/zshrc

+ 2 - 2
shell/bashrc

@@ -1,13 +1,13 @@
 source ~/dotfiles/shell/env
 
-[[ -r ~/.bashlocal ]] && source ~/.bashlocal
-
 source ~/dotfiles/shell/common/load
 
 for file in ~/dotfiles/shell/bash/*.bash; do
   source $file
 done
 
+[[ -r ~/.bashlocal ]] && source ~/.bashlocal
+
 # Command Prompt
 #
 #     [host]  directory  gitinfo  jobinfo

+ 2 - 2
shell/zshrc

@@ -1,11 +1,11 @@
-[[ -r ~/.zshlocal ]] && source ~/.zshlocal
-
 source ~/dotfiles/shell/common/load
 
 for file in ~/dotfiles/shell/zsh/*.zsh; do
   source $file
 done
 
+[[ -r ~/.zshlocal ]] && source ~/.zshlocal
+
 # Command Prompt
 #
 #     [host]  directory  gitinfo  jobinfo