From a43c80639d2b2e448dd93d0eaa18b56a33b19dff Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Wed, 17 Feb 2016 10:15:14 -0800 Subject: [PATCH] Add an unmanaged local_dotfiles dir to override dotfiles. --- .gitignore | 1 + install.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 494f98c..8a039c7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ installed-prefs *.swp *~ *.bak +local_dotfiles diff --git a/install.sh b/install.sh index 402cd47..736b9da 100755 --- a/install.sh +++ b/install.sh @@ -282,6 +282,8 @@ install_dotfile_dir "${BASEDIR}/dotfiles" test -d "${BASEDIR}/private_dotfiles" && \ test -d "${BASEDIR}/.git/git-crypt" && \ install_dotfile_dir "${BASEDIR}/private_dotfiles" +test -d "${BASEDIR}/local_dotfiles" && \ + install_dotfile_dir "${BASEDIR}/local_dotfiles" install_basic_dir "${BASEDIR}/bin" "${HOME}/bin" (( $MINIMAL )) || postinstall (( $INSTALL_KEYS )) && install_keys