all repos — dotfiles-base @ 4143f443190bce542a389f280c2dd6d5b328560c

base important configs that can safely be used almost anywhere

Misc. dotfiles-base fixes/tweaks
x1phosura x1phosura@x1phosura.zone
Wed, 16 Oct 2024 15:11:57 -0700
commit

4143f443190bce542a389f280c2dd6d5b328560c

parent

a8f47416c4a6d01ba36b28a5526d6b3fc6060a65

4 files changed, 7 insertions(+), 5 deletions(-)

jump to
M .bashrc.bashrc

@@ -13,6 +13,7 @@ [[ $- != *i* ]] && return

############################################################################ # SWITCH TO FISH SHELL # + # TODO detect if fish installed exec fish ############################################################################
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.shplace-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..."