many changes this one forgot

This commit is contained in:
Lucy Hochkamp 2025-04-04 18:42:10 +02:00
parent 67c2117563
commit 44307a3f6f
No known key found for this signature in database
22 changed files with 1081 additions and 437 deletions

View file

@ -23,10 +23,19 @@ in
environment.systemPackages = with pkgs; [
fishPlugins.grc
grc
fzf # needed for reverse history search
];
programs.direnv.enableFishIntegration = true;
programs.fish.interactiveShellInit = ''
set -g fish_key_bindings fish_vi_key_bindings
function y
set tmp (mktemp -t "yazi-cwd.XXXXXX")
yazi $argv --cwd-file="$tmp"
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
builtin cd -- "$cwd"
end
rm -f -- "$tmp"
end
'';
programs.fish.enable = true;
};