aboutsummaryrefslogtreecommitdiffhomepage
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh15
1 files changed, 11 insertions, 4 deletions
diff --git a/setup.sh b/setup.sh
index f2be5b5..6c82af6 100755
--- a/setup.sh
+++ b/setup.sh
@@ -1,17 +1,24 @@
#!/bin/bash
+echo "setup.sh"
+
for name in .gitconfig .tmux.conf .vim .vimrc .zshrc; do
- if [ ! -L ~/$name ]; then
- ln -s -f ~/dotfiles/$name ~/$name
+ if [ ! -L ~/"$name" ]; then
+ echo "* ln -s: ~/$name"
+ ln -s -f ~/dotfiles/"$name" ~/"$name"
fi
done
if [ ! -d ~/.config ]; then
+ echo "* mkdir: ~/.config"
mkdir ~/.config
fi
for name in alacritty bat git; do
- if [ ! -L ~/.config/$name ]; then
- ln -s -f ~/dotfiles/.config/$name ~/.config/$name
+ if [ ! -L ~/.config/"$name" ]; then
+ echo "* ln -s: ~/.config/$name"
+ ln -s -f ~/dotfiles/.config/"$name" ~/.config/"$name"
fi
done
+
+echo "done"