Ver código fonte

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 9 anos atrás
pai
commit
590a06e162
2 arquivos alterados com 4 adições e 4 exclusões
  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