fixes fish

This commit is contained in:
Dennis Schoepf 2025-12-06 17:27:40 +01:00
parent 350f8c8bf3
commit 081276d7f1

View file

@ -25,7 +25,7 @@
command fzf command fzf
''; '';
dev_projects = /* fish */ '' dev_projects = /* fish */ ''
if hn == "dnsc-work" if $hn == "dnsc-work"
begin begin
fd . ~/dev/ride/apps/backend/edge-services -t d -d 1; fd . ~/dev/ride/apps/backend/edge-services -t d -d 1;
fd . ~/dev/ride/apps/backend/backend-services -t d -d 1; fd . ~/dev/ride/apps/backend/backend-services -t d -d 1;
@ -183,7 +183,7 @@
fish_add_path /run/wrappers/bin fish_add_path /run/wrappers/bin
fish_add_path /run/current-system/sw/bin fish_add_path /run/current-system/sw/bin
if uname == "Darwin" if $uname == "Darwin"
setup_homebrew setup_homebrew
end end
''; '';
@ -195,7 +195,7 @@
return 1 return 1
end end
for line in (user_env | grep -v '^#') for line in ($user_env | grep -v '^#')
set item (string split -m 1 '=' $line) set item (string split -m 1 '=' $line)
set -gx $item[1] $item[2] set -gx $item[1] $item[2]
end end