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