Adapts fish config

This commit is contained in:
Dennis Schoepf 2025-01-27 23:10:47 +01:00
parent 640eccae4c
commit 8b9e750908

View file

@ -14,6 +14,13 @@
--preview-window 'up,60%,border-bottom,+{2}+3/3,~3' \ --preview-window 'up,60%,border-bottom,+{2}+3/3,~3' \
--bind 'enter:become(nvim {1} +{2})' --bind 'enter:become(nvim {1} +{2})'
''; '';
envsource = ''
for line in (cat $argv | grep -v '^#')
set item (string split -m 1 '=' $line)
set -gx $item[1] $item[2]
echo "Exported key $item[1]"
end
'';
fish_greeting = "fortune -a"; fish_greeting = "fortune -a";
}; };
@ -31,6 +38,8 @@
fish_add_path /run/current-system/sw/bin fish_add_path /run/current-system/sw/bin
fish_add_path /opt/homebrew/bin fish_add_path /opt/homebrew/bin
envsource ~/.env
fnm env --use-on-cd --shell fish | source fnm env --use-on-cd --shell fish | source
''; '';