sunhat/defaults/bash/shell
2024-07-18 18:09:30 -05:00

29 lines
712 B
Plaintext

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# History control
shopt -s histappend
HISTCONTROL=ignoreboth
HISTSIZE=32768
HISTFILESIZE="${HISTSIZE}"
# Editor used by CLI
export EDITOR="nvim"
export SUDO_EDITOR="nvim"
# Define Paths
export SUNHAT_PATH="$HOME/.local/share/sunhat"
export CARGO_PATH="$HOME/.cargo"
export BUN_INSTALL="$HOME/.bun"
export PYENV_ROOT="$HOME/.pyenv"
export PNPM_HOME="$HOME/.local/share/pnpm"
# Set complete path
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"
set +h
# Zoxide
eval "$(zoxide init bash)"