export EDITOR='vim' export PAGER='less' export LESS='--RAW-CONTROL-CHARS' export GPG_TTY=$TTY export PATH=$HOME/.local/bin:$PATH if [[ $INTELLIJ -eq 1 ]]; then export PATH=/usr/local/bin:/usr/bin:$PATH fi if [[ -n $XDG_RUNTIME_DIR ]]; then export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" export XDG_STATE_HOME="$HOME/.local/state" fi [[ -f "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env" if command -v npm &> /dev/null; then export npm_config_prefix="$HOME/.local" fi if command -v bat &> /dev/null; then export MANPAGER="sh -c 'col -bx | bat --plain --language man'" export MANROFFOPT="-c" fi