Update link scripts
This commit is contained in:
parent
51f4bb6ac6
commit
6df24a1014
@ -1,4 +1,2 @@
|
|||||||
@echo off
|
@echo off
|
||||||
pushd "%CD%\.."
|
|
||||||
mklink /J "%LOCALAPPDATA%\nvim" "%CD%"
|
mklink /J "%LOCALAPPDATA%\nvim" "%CD%"
|
||||||
popd
|
|
@ -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
|
|
||||||
|
@ -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
|
|
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user