fish: add nix env vars
This commit is contained in:
parent
5cc5e1ff8e
commit
b17febf0fe
1 changed files with 7 additions and 4 deletions
|
@ -4,15 +4,20 @@ set fish_greeting
|
|||
fish_add_path $HOME/.cargo/bin
|
||||
fish_add_path $HOME/bin
|
||||
|
||||
## Nix
|
||||
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
|
||||
export NIX_REMOTE=daemon
|
||||
fish_add_path $HOME/.nix-profile/bin
|
||||
|
||||
if status is-interactive
|
||||
|
||||
## Pager
|
||||
export LESS="--mouse --wheel-lines=1 -nRXF"
|
||||
export LESSCOLORIZER="bat"
|
||||
export LESSOPEN="|lesspipe.sh %s"
|
||||
export PAGER="bat"
|
||||
export BAT_PAGER="less -r"
|
||||
|
||||
|
||||
## Utilities
|
||||
|
||||
function tree
|
||||
|
@ -38,9 +43,7 @@ if status is-interactive
|
|||
|
||||
## Kubernetes
|
||||
fish_add_path $HOME/.krew/bin
|
||||
function kubectl --wraps kubectl
|
||||
command grc --colour=on kubectl $argv
|
||||
end
|
||||
alias kubectl=kubecolor
|
||||
|
||||
## History
|
||||
|
||||
|
|
Loading…
Reference in a new issue