Explorar el Código

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 hace 9 años
padre
commit
590a06e162
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  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