migrate to dotter

This commit is contained in:
Alexander Navarro 2025-09-01 12:10:36 -04:00
parent c5618f2f2c
commit 23b6c0a596
265 changed files with 62 additions and 3125 deletions

View file

@ -0,0 +1,44 @@
update_path() {
export PATH="$PATH:$1"
}
# Set manually
export REPOS="$HOME/.local/share/chezmoi"
export DOTS="$REPOS/Private/dots"
export EDITOR=nvim
export VISUAL="$EDITOR"
export QT_STYLE_OVERRIDE=kvantum
export MOZ_ENABLE_WAYLAND=1
# Use rbw as SSH Agent
# use https://github.com/pmkap/rbw/ until https://github.com/doy/rbw/issues/197 is closed
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/rbw/ssh-agent-socket"
update_path "$DOTS/scripts"
update_path "$HOME/.local/bin"
update_path "$HOME/bin"
update_path "/usr/local/bin"
# Dev Stuff
export NPM_PACKAGES="$HOME/.npm-packages"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
update_path "$NPM_PACKAGES/bin"
export PNPM_HOME="$HOME/.local/share/pnpm"
update_path "$PNPM_HOME"
export BUN_INSTALL="$HOME/.bun"
update_path "$BUN_INSTALL/bin"
source "$HOME/.rye/env"
# . "$HOME/.cargo/env"
update_path "$HOME/.cargo/bin/"
. "$HOME/.atuin/bin/env"
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
. "$HOME/.local/share/../bin/env"

8
configs/bash/.bashrc Normal file
View file

@ -0,0 +1,8 @@
# ╭──────────────────────────────────────────────────────────╮
# │ Auto drop into fish only on login │
# ╰──────────────────────────────────────────────────────────╯
# if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} && ${SHLVL} == 1 ]]; then
# shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=''
# exec fish $LOGIN_OPTION
# fi