diff options
author | Urbain Vaes <urbain@vaes.uk> | 2019-09-30 11:34:24 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2019-09-30 11:34:24 +0100 |
commit | 83318bd4f988f3e6fc6011b4532d6e02f030efe8 (patch) | |
tree | e87dc200ad48502ebb26ccf48909bc585ff3711d /bin | |
parent | c6c99f926f97507c41d9bdec59a2fb7d0368a350 (diff) |
Install personal files as well as dotfiles
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.local/bin/install_dotfiles | 7 |
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" |