Add installation script

pull/70/head
Marcelo Jacobus 2024-06-06 14:51:34 -03:00
parent 4818e4b72f
commit 738f91b5f8
1 changed files with 14 additions and 0 deletions

14
install.sh 100755
View 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