From f9c7dd0ef606f12ec61d0af44924560425ff47f8 Mon Sep 17 00:00:00 2001 From: Jake Koroman Date: Tue, 1 Jul 2025 17:14:58 -0400 Subject: add bashrc and bash_profile. --- .bash_profile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .bash_profile (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..d89387a --- /dev/null +++ b/.bash_profile @@ -0,0 +1,31 @@ +# Set up the system, user profile, and related variables. +# /etc/profile will be sourced by bash automatically +# Set up the home environment profile. +if [ -f ~/.profile ]; then source ~/.profile; fi + +# Honor per-interactive-shell startup file +if [ -f ~/.bashrc ]; then source ~/.bashrc; fi + +export SUDO="sudo" +export TERMINAL="st" +export BROWSER="firefox" +export EDITOR="emacsclient -c -a 'emacs -nw'" +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CACHE_HOME="$HOME/.cache" +# export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share" +export ZDOTDIR="$XDG_CONFIG_HOME/zsh" +export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default" +export GOPATH="$XDG_DATA_HOME/go" +export RUSTUP_HOME="$XDG_DATA_HOME/rustup" +export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" +export PYTHON_HISTORY="$XDG_DATA_HOME/python/history" +export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" +export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch-config" +export CARGO_HOME="$XDG_DATA_HOME/cargo" +export WGETRC="$XDG_CONFIG_HOME/wgetrc" +export MENULAUNCHER_DIR="$XDG_DATA_HOME/menulaunchers" +export MBSYNCRC="$XDG_CONFIG_HOME/mbsync/config" +export MANPATH="$MANPATH:$XDG_DATA_HOME/man" +export _JAVA_AWT_WM_NONREPARENTING="1" +export PATH="$CARGO_HOME/bin:$HOME/.local/bin:$HOME/scripts:$PATH" -- cgit v1.2.3