feat: `install.sh`
Added `install.sh` similarly to 6f81337311/install.sh
but pointing directly to `$HOME/.config/nvim`
This commit is contained in:
parent
76c5b1ec57
commit
9a104215c7
13
init.lua
13
init.lua
|
@ -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
|
||||
},
|
||||
|
||||
{
|
||||
|
|
|
@ -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 .
|
Loading…
Reference in New Issue