Env variables

This commit is contained in:
Candifloss 2026-07-16 01:53:17 +05:30
parent a081220dee
commit 0d909857f7
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,25 @@
#
# 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`

6
config.fish Normal file
View File

@ -0,0 +1,6 @@
# ~/.config/fish/config.fish
#
# Interactive shell configuration is loaded automatically from conf.d/.
# Functions are autoloaded from functions/.
#
# Keep this file minimal.