diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-11-19 22:28:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-11-19 22:28:06 +0900 |
| commit | ed4b5f69144ee6f93e0c7059b3676c230cbce581 (patch) | |
| tree | d5a7ff65fe56c75d6589f00cc9de49dee5d48db5 /setup.sh | |
| parent | 0d4a7fe77275a40996a710b673e58b4d2d78a8f4 (diff) | |
| download | dotfiles-ed4b5f69144ee6f93e0c7059b3676c230cbce581.tar.gz dotfiles-ed4b5f69144ee6f93e0c7059b3676c230cbce581.tar.zst dotfiles-ed4b5f69144ee6f93e0c7059b3676c230cbce581.zip | |
vim: make vim XDG-Base-Directory-aware
Diffstat (limited to 'setup.sh')
| -rwxr-xr-x | setup.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,13 +1,7 @@ #!/bin/bash -if [ ! -f ~/dotfiles/.vim/autoload/plug.vim ]; then - echo "download: ~/dotfiles/.vim/autoload/plug.vim" - curl -fLo ~/dotfiles/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim -fi - for name in \ .tmux.conf \ - .vim \ .vimrc \ .zshrc \ ; \ @@ -28,6 +22,7 @@ for name in \ bat \ emacs \ git \ + vim \ ; \ do if [ ! -L ~/.config/"$name" ]; then @@ -36,6 +31,11 @@ do fi done +if [ ! -f ~/dotfiles/.config/vim/autoload/plug.vim ]; then + echo "download: ~/dotfiles/.config/vim/autoload/plug.vim" + curl -fLo ~/dotfiles/.config/vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +fi + if [ ! -d ~/.config/skk ]; then echo "dir: ~/.config/skk" mkdir ~/.config/skk |
