blob: c5d20661398083281155401eb803212c76b46f0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
[[ -f "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"
if command -v bat &> /dev/null; then
export MANPAGER="sh -c 'col -bx | bat --plain --language man'"
# note that mandoc needs a wrapper script e.g.:
# col -bx < "$1" | bat -p -l man
# <https://github.com/sharkdp/bat/issues/1145>
fi
|