Преглед изворни кода

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 година
родитељ
комит
590a06e162
2 измењених фајлова са 4 додато и 4 уклоњено
  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