Update link scripts

This commit is contained in:
Alex Yatskov 2021-06-13 19:00:43 -07:00
parent 51f4bb6ac6
commit 6df24a1014
4 changed files with 0 additions and 8 deletions

View File

@ -1,4 +1,2 @@
@echo off @echo off
pushd "%CD%\.."
mklink /J "%LOCALAPPDATA%\nvim" "%CD%" mklink /J "%LOCALAPPDATA%\nvim" "%CD%"
popd

View File

@ -1,6 +1,4 @@
#!/bin/bash #!/bin/bash
pushd $PWD/..
if [ ! -d ~/.config/nvim ]; then if [ ! -d ~/.config/nvim ]; then
ln -s $PWD ~/.config/nvim ln -s $PWD ~/.config/nvim
fi fi
popd

View File

@ -1,6 +1,4 @@
@echo off @echo off
pushd "%CD%\.."
mklink "%USERPROFILE%\_vimrc" "%CD%\init.vim" mklink "%USERPROFILE%\_vimrc" "%CD%\init.vim"
mklink "%USERPROFILE%\_gvimrc" "%CD%\gvim.vim" mklink "%USERPROFILE%\_gvimrc" "%CD%\gvim.vim"
mklink /J "%USERPROFILE%\vimfiles" "%CD%" mklink /J "%USERPROFILE%\vimfiles" "%CD%"
popd

View File

@ -1,8 +1,6 @@
#!/bin/bash #!/bin/bash
pushd $PWD/..
ln -sf $PWD/init.vim ~/.vimrc ln -sf $PWD/init.vim ~/.vimrc
ln -sf $PWD/gvim.vim ~/.gvimrc ln -sf $PWD/gvim.vim ~/.gvimrc
if [ ! -d ~/.vim ]; then if [ ! -d ~/.vim ]; then
ln -s $PWD ~/.vim ln -s $PWD ~/.vim
fi fi
popd