23 lines
476 B
Fish
23 lines
476 B
Fish
# Environment
|
|
|
|
set -gx EDITOR vim
|
|
set -gx VISUAL vim
|
|
|
|
set -gx PAGER less
|
|
|
|
# Preserve ANSI colours inside less.
|
|
set -gx LESS "-R"
|
|
|
|
# Don't create ~/.lesshst.
|
|
set -gx LESSHISTFILE -
|
|
|
|
# Better behaviour for systemd pagers.
|
|
set -gx SYSTEMD_LESS "FRXMK"
|
|
|
|
# Force colour where supported.
|
|
set -gx CLICOLOR 1
|
|
set -gx CLICOLOR_FORCE 1
|
|
|
|
# BAT
|
|
set -gx BAT_THEME "Monokai Extended" # Nice default `bat` theme.
|
|
set -gx MANPAGER "bat -plman" # Use `bat` as a colorizing pager for `man` |