Просмотр исходного кода

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 лет назад
Родитель
Сommit
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