From e22a871eded2e6d7197946159dc8d5729e8266d0 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Thu, 4 Dec 2014 12:00:27 +0100 Subject: [PATCH] fix autoload when dotfiles relocated --- shell/autoload | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/autoload b/shell/autoload index 9de8f8b..b9d8fc3 100644 --- a/shell/autoload +++ b/shell/autoload @@ -1,6 +1,6 @@ # load all shell files -for file in ~/.dotfiles/shell/*; do - [[ -x $file ]] && source $file +for file in "$DOTFILES_SHELL_DIR"/*; do + [[ -x $file ]] && source "$file" done # vim: ft=sh