# Author: Jianqun (https://jianqun.me) # Updated: 2026-07-23 # PATH Variable Configuration path_prepend() { [ -d "$1" ] || return case ":${PATH}:" in *":${1}:"* ) ;; * ) export PATH="${1}:${PATH}" ;; esac } path_prepend "${HOME}/.local/bin" path_prepend "${HOME}/.npm-global/bin" # Pager & Editor export PAGER="less" command -v nvim >/dev/null 2>&1 && export EDITOR="nvim" VISUAL="nvim" # Bash Startup File if [ -n "$BASH_VERSION" ] && [ -f "${HOME}/.bashrc" ]; then source "${HOME}/.bashrc" fi