Skip to content

Commit

Permalink
update install script
Browse files Browse the repository at this point in the history
  • Loading branch information
randName committed Mar 10, 2024
1 parent d07aae9 commit 5ce6647
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
21 changes: 21 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/sh

files=$(cat <<EOF
zshenv
zshrc
vimrc
lesskey
tmux.conf
gitconfig
gitignore
EOF
)

ddir="$(dirname $0)"

# Symlink to default locations
for f in $files; do
fn="$ddir/$f"
[ -z "$fn" ] && continue
ln -vs --backup=existing $fn $HOME/.$fn
done
7 changes: 0 additions & 7 deletions tools/install.sh

This file was deleted.

8 changes: 0 additions & 8 deletions tools/locations

This file was deleted.

0 comments on commit 5ce6647

Please sign in to comment.