summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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"