Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

bash/bashrc

Raw
export CARGO_HOME="$HOME/.cargo"
export PATH="$CARGO_HOME/bin:$PATH"

export GO_HOME="$HOME/go"
export PATH="$GO_HOME/bin:$PATH"

export PATH="$HOME/.local/bin:$PATH"


export TERMUX_X11_XSTARTUP="wezterm"

eval "$(zoxide init bash)"
eval "$(JUST_COMPLETE=bash just)"


# Termux/Android node-gyp workaround for native npm packages like node-pty.
# node-gyp's Android config expects android_ndk_path; keep this safe to source repeatedly.
_node_gyp_android_ndk="$HOME/.termux-node-gyp-android-ndk"
mkdir -p "$_node_gyp_android_ndk/sources/android/cpufeatures" 2>/dev/null || true
case " ${GYP_DEFINES:-} " in
  *" android_ndk_path=$_node_gyp_android_ndk "*) ;;
  *) export GYP_DEFINES="android_ndk_path=$_node_gyp_android_ndk${GYP_DEFINES:+ $GYP_DEFINES}" ;;
esac
unset _node_gyp_android_ndk

_bash_secrets="${XDG_CONFIG_HOME:-$HOME/.config}/bash/secrets.bash"
if [[ -r "$_bash_secrets" ]]; then
  source "$_bash_secrets"
fi
unset _bash_secrets