feat: `install.sh`

Added `install.sh` similarly to 6f81337311/install.sh
but pointing directly to `$HOME/.config/nvim`
This commit is contained in:
David Papp 2023-12-10 20:00:04 +01:00
parent 76c5b1ec57
commit 9a104215c7
2 changed files with 19 additions and 3 deletions

View File

@ -192,10 +192,17 @@ require('lazy').setup({
{
-- Theme inspired by Atom
'navarasu/onedark.nvim',
-- priority = 1000,
-- config = function()
-- vim.cmd.colorscheme 'onedark'
-- end,
},
{
'sainnhe/gruvbox-material',
priority = 1000,
config = function()
vim.cmd.colorscheme 'onedark'
end,
config = function ()
vim.cmd.colorscheme 'gruvbox-material'
end
},
{

9
install.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/sh
NVIM_APP_NAME=nvim
NVIM_APP_CONFIG=~/.config/$NVIM_APP_NAME
export NVIM_APP_NAME NVIM_APP_CONFIG
rm -rf $NVIM_APP_CONFIG && mkdir -p $NVIM_APP_CONFIG
stow --restow --target=$NVIM_APP_CONFIG .