2024-06-11 09:35:10 -05:00
|
|
|
# Source global definitions
|
|
|
|
if [ -f /etc/bashrc ]; then
|
|
|
|
. /etc/bashrc
|
|
|
|
fi
|
|
|
|
|
2024-05-27 11:01:23 -05:00
|
|
|
# History control
|
|
|
|
shopt -s histappend
|
|
|
|
HISTCONTROL=ignoreboth
|
|
|
|
HISTSIZE=32768
|
|
|
|
HISTFILESIZE="${HISTSIZE}"
|
|
|
|
|
2024-06-09 05:05:28 -05:00
|
|
|
# Editor used by CLI
|
|
|
|
export EDITOR="nvim"
|
|
|
|
export SUDO_EDITOR="nvim"
|
|
|
|
|
2024-06-11 09:35:10 -05:00
|
|
|
# Define Paths
|
|
|
|
export SUNHAT_PATH="$HOME/.local/share/sunhat"
|
|
|
|
export CARGO_PATH="$HOME/.cargo"
|
2024-06-09 04:16:43 -05:00
|
|
|
export BUN_INSTALL="$HOME/.bun"
|
2024-06-11 09:35:10 -05:00
|
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
|
|
|
export PNPM_HOME="$HOME/.local/share/pnpm"
|
2024-05-27 11:01:23 -05:00
|
|
|
|
|
|
|
# Set complete path
|
2024-06-11 09:35:10 -05:00
|
|
|
export PATH="$HOME/bin:$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$SUNHAT_PATH/bin:$BUN_INSTALL/bin:$CARGO_PATH/bin:$PNPM_HOME:$PYENV_ROOT/bin:$HOME/.rbenv/bin"
|
2024-05-27 11:01:23 -05:00
|
|
|
set +h
|
2024-06-03 14:30:34 -05:00
|
|
|
|
2024-07-18 18:09:30 -05:00
|
|
|
# Zoxide
|
|
|
|
eval "$(zoxide init bash)"
|