diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2022-03-21 09:10:41 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2022-03-21 09:10:41 +0100 |
commit | ed27977fc818a76b17f70acad5f5badb5c67c14b (patch) | |
tree | 05fda7dccd17ac02c8d39eca6a61c0921f7b9dc2 | |
parent | 0abab86a42b23cec9028b1a143746f60ec7a7db9 (diff) | |
download | vim-ed27977fc818a76b17f70acad5f5badb5c67c14b.zip vim-ed27977fc818a76b17f70acad5f5badb5c67c14b.tar.gz |
install : no unison involved, bypass ~/etc
-rwxr-xr-x | install | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,6 +1,5 @@ #! /bin/bash -[ -d ~/etc/nvim ] && rm -fr ~/etc/nvim -mkdir ~/etc/nvim && cd ~/etc/nvim && ln -s ~/usr/git/vim/init.lua && ln -s ~/usr/git/vim/lua -[ -d ~/.config/nvim ] && rm -fr ~/.config/nvim -cd ~/.config && ln -s ~/etc/nvim nvim +D=~/.config/nvim +rm -fr "$D" 2>/dev/null +mkdir "$D" && cd "$D" && ln -s ~/usr/git/vim/init.lua && ln -s ~/usr/git/vim/lua |