31 lines
936 B
Plaintext
Raw Permalink Normal View History

2024-06-11 09:35:10 -05:00
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
2024-06-09 05:05:28 -05:00
# Editor used by CLI
export EDITOR="nvim"
2025-01-01 11:02:03 -06:00
export SUDO_EDITOR="$EDITOR"
2024-06-09 05:05:28 -05:00
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"
2025-02-10 10:13:11 -06:00
export NVM_DIR="$HOME/.nvm"
# Set complete path
2025-01-01 11:02:03 -06: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:/usr/lib/ccache/bin/"
2025-02-10 10:13:11 -06:00
# Nvm
2025-02-10 10:16:47 -06:00
set -h
2025-02-10 10:13:11 -06:00
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
2024-06-03 12:30:34 -07:00
2024-07-18 18:09:30 -05:00
# Zoxide
eval "$(zoxide init bash)"
2025-02-10 10:13:11 -06:00
# Oh My Posh
eval "$(oh-my-posh init bash --config $HOME/.config/ohmyposh/EDM115-newline.omp.json)"