diff options
author | Danny Holman <dholman@gymli.xyz> | 2021-08-08 15:36:08 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.xyz> | 2021-08-08 15:36:08 -0500 |
commit | bd6d02b28f059bddca2fc264676e78cf49698d48 (patch) | |
tree | 002502478d12e7e918459b9bb954acd07ae32210 | |
parent | f1804c57494eb4a6927a7c85d9f92f66a0a7d10f (diff) |
Add an install script
Add install.sh to make installation easy
-rwxr-xr-x | install.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..9c88187 --- /dev/null +++ b/install.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# Installs my dotfiles on a new system + +for f in $(find . -maxdepth 1 ! -name ".git" -name ".[^.]*"); do + rm -rf $HOME/$f + ln -s $HOME/repositories/dotfiles/$f $HOME/$f +done |