aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2021-11-07 13:40:32 +0900
committernsfisis <nsfisis@gmail.com>2021-11-07 13:40:32 +0900
commitcb04994af33f9240539f434db5ef08f4a4df176a (patch)
treea27cfeed98f1783c78ed18a4e184bae154911950
parentd89aa1b11b0a7c7068f6312b9cd5e3530182665e (diff)
downloaddotfiles-cb04994af33f9240539f434db5ef08f4a4df176a.tar.gz
dotfiles-cb04994af33f9240539f434db5ef08f4a4df176a.tar.zst
dotfiles-cb04994af33f9240539f434db5ef08f4a4df176a.zip
setup.sh: add messages
-rw-r--r--.vimrc1
-rwxr-xr-xsetup.sh15
2 files changed, 12 insertions, 4 deletions
diff --git a/.vimrc b/.vimrc
index a351702..9537571 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1272,6 +1272,7 @@ Autocmd FileType typescript ClangFormatAutoDisable
" ctrlp {{{2
+let g:ctrlp_map = '<Space>f'
let g:ctrlp_match_func = {'match': 'ctrlp_matchfuzzy#matcher'}
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"