From b17febf0feee011a64abc9b0d5eb1d9564345b86 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 26 Mar 2024 20:28:34 +0100 Subject: [PATCH] fish: add nix env vars --- .config/fish/config.fish | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 1560f81..14e033f 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -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