From 83318bd4f988f3e6fc6011b4532d6e02f030efe8 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 30 Sep 2019 11:34:24 +0100 Subject: Install personal files as well as dotfiles --- bin/.local/bin/install_dotfiles | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin') 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" -- cgit v1.2.3