aboutsummaryrefslogtreecommitdiffhomepage
path: root/setup.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2021-11-09 14:28:35 +0900
committernsfisis <nsfisis@gmail.com>2021-11-09 14:28:35 +0900
commitb70494e88a63eea64abd81cfa44c44ae50e7a485 (patch)
tree44254b4e30f6c46ef42bd560c47f946a2bd9daa1 /setup.sh
parenta29cbbdbb3d6c25ab31cff7d7a5b4cf088c1e5be (diff)
downloaddotfiles-b70494e88a63eea64abd81cfa44c44ae50e7a485.tar.gz
dotfiles-b70494e88a63eea64abd81cfa44c44ae50e7a485.tar.zst
dotfiles-b70494e88a63eea64abd81cfa44c44ae50e7a485.zip
setup.sh: change progress message
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"