dots/Configs/bash/.bash_profile
2025-06-19 11:39:22 -04:00

42 lines
973 B
Bash

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