diff options
-rwxr-xr-x | install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -136,7 +136,8 @@ housekeeping() { git submodule update #.files is used to tell scripts where to look for the dotfiles - if yes_no "Generate '.files'?"; then + [ -f "$HOME/.files" ] && source "$HOME/.files" + if [ $DOTFILEBASE != "$(pwd)" ] && yes_no "'.files' out of date. Regenerate?"; then echo "DOTFILEBASE=\"$(pwd)\"" > $HOME/.files fi } |