Misc. dotfiles-base fixes/tweaks
x1phosura x1phosura@x1phosura.zone
Wed, 16 Oct 2024 15:11:57 -0700
4 files changed,
7 insertions(+),
5 deletions(-)
M
.config/nvim/init.lua
→
.config/nvim/init.lua
@@ -2,7 +2,8 @@ -- my init.lua
-- x1phosura local vimrc = vim.fn.stdpath("config") .. "/vimrc.vim" -- get path to vimrc -vim.cmd.source(vimrc) +-- vim.cmd.source(vimrc) -- old, may break +vim.cmd('source ~/.vimrc') -require('lsp') -- my lsp setup +-- require('lsp') -- my lsp setup, TODO fix
M
.config/nvim/vimrc.vim
→
.config/nvim/vimrc.vim
@@ -13,9 +13,9 @@ " set termguicolors
"endif set background=dark -"colorscheme x1ph-off " TODO: check _if_ x1ph-off exists, if not, use default +"colorscheme ron "colorscheme lunaperche -colorscheme wildcharm +colorscheme wildcharm " TODO manually copy over to nvim colors dir syntax on set guicursor= "force using block cursor (for neovim)
M
place-dotfiles-base.sh
→
place-dotfiles-base.sh
@@ -6,10 +6,10 @@ dotfiles_root="$HOME"/73h4x/dotfiles/dotfiles-base # where dotfiles live
#dotfiles_root="$PWD" # alternative (for testing) dest="$HOME" # usually $HOME - die() { echo "$@"; exit 1 } + [ ! -d "$dotfiles_root" ] && \ die "ERROR: $dotfiles_root doesn't exist. Aborting..."