Env variables
This commit is contained in:
parent
a081220dee
commit
0d909857f7
25
conf.d/00_environment.fish
Normal file
25
conf.d/00_environment.fish
Normal 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
6
config.fish
Normal 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.
|
||||
Loading…
x
Reference in New Issue
Block a user