summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-09-30 11:34:24 +0100
committerUrbain Vaes <urbain@vaes.uk>2019-09-30 11:34:24 +0100
commit83318bd4f988f3e6fc6011b4532d6e02f030efe8 (patch)
treee87dc200ad48502ebb26ccf48909bc585ff3711d /bin
parentc6c99f926f97507c41d9bdec59a2fb7d0368a350 (diff)
Install personal files as well as dotfiles
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/install_dotfiles7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/.local/bin/install_dotfiles b/bin/.local/bin/install_dotfiles
index ecc7371..ed6335a 100755
--- a/bin/.local/bin/install_dotfiles
+++ b/bin/.local/bin/install_dotfiles
@@ -1,7 +1,12 @@
#!/usr/bin/env bash
dotfiles_directory=$HOME/dotfiles
-
cd "$dotfiles_directory" || { echo "Nonexistent directory $dotfiles_directory"; exit; }
find . -mindepth 1 -maxdepth 1 -printf "%P\\0" | grep -zvFf .stowignore | \
xargs -0 stow -t "$HOME" --no-folding
+
+rm $HOME/.zsh_history
+personal_directory=$HOME/personal
+cd "$personal_directory" || { echo "Nonexistent directory $personal_directory"; exit; }
+find . -mindepth 1 -maxdepth 1 -printf "%P\\0" | grep -zvFf .stowignore | \
+ xargs -0 stow -t "$HOME"