sunhat/defaults/bash/shell

29 lines
712 B
Plaintext
Raw Normal View History

2024-06-11 09:35:10 -05:00
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# 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"
# 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"
set +h
2024-06-03 14:30:34 -05:00
2024-07-18 18:09:30 -05:00
# Zoxide
eval "$(zoxide init bash)"