mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
Add installation script
This commit is contained in:
parent
4818e4b72f
commit
e307dea726
1 changed files with 14 additions and 0 deletions
14
install.sh
Executable file
14
install.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
args=$@
|
||||
|
||||
targetDir=$HOME/.config/nvim
|
||||
mkdir -p $targetDir
|
||||
flags="--verbose=1 -t ${targetDir}"
|
||||
|
||||
if [[ "$args" == "--uninstall" ]]; then
|
||||
echo 'Uninstalling'
|
||||
flags="-D --verbose=1 -t $HOME"
|
||||
fi
|
||||
|
||||
stow $flags . # newest
|
||||
Loading…
Add table
Reference in a new issue