30 lines
640 B
Plaintext
30 lines
640 B
Plaintext
|
# If you make changes to this, it's probably a good idea to log out.
|
||
|
|
||
|
[ -f $HOME/.nix-profile/etc/profile.d/nix.sh ] && source \
|
||
|
$HOME/.nix-profile/etc/profile.d/nix.sh
|
||
|
|
||
|
pathadd_head() {
|
||
|
if [ -d "$1" ] && ! echo "$PATH" | grep -q "$1" >/dev/null; then
|
||
|
PATH="$1${PATH:+":$PATH"}"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
pathadd_tail() {
|
||
|
if [ -d "$1" ] && ! echo "$PATH" | grep -q "$1" >/dev/null; then
|
||
|
PATH="${PATH:+"$PATH:"}$1"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
export EDITOR=nvim
|
||
|
#export PAGER=bat
|
||
|
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||
|
|
||
|
pathadd_tail '/envs/bin'
|
||
|
pathadd_head "$HOME/.local/bin"
|
||
|
pathadd_head '/tmp/bin'
|
||
|
|
||
|
# Preferences
|
||
|
export CALIBRE_USE_SYSTEM_THEME=1
|
||
|
|
||
|
export PATH
|