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