diff --git a/fish/functions/lfcd.fish b/fish/functions/lfcd.fish index ea2b0cb..d96d106 100644 --- a/fish/functions/lfcd.fish +++ b/fish/functions/lfcd.fish @@ -13,7 +13,7 @@ function lfcd set tmp (mktemp) - lf -last-dir-path=$tmp $argv + yazi --cwd-file=$tmp $argv if test -f "$tmp" set dir (cat $tmp) rm -f $tmp diff --git a/home.nix b/home.nix index 9ee7cdc..275fdff 100644 --- a/home.nix +++ b/home.nix @@ -171,7 +171,6 @@ enableFishIntegration = true; }; programs.pistol.enable = true; - programs.lf.enable = true; programs.home-manager.enable = true; programs.neovim = { package = unstable.neovim-unwrapped; @@ -273,6 +272,33 @@ forwardAgent = true; }; + programs.yazi = { + enable = true; + package = unstable.yazi; + enableFishIntegration = true; + settings = { + preview = { + image_quality = 90; + }; + tasks = { + image_bound = [ + 0 + 0 + ]; + }; + }; + plugins = { + rsync = unstable.yaziPlugins.rsync; + piper = unstable.yaziPlugins.piper; + nord = unstable.yaziPlugins.nord; + mediainfo = unstable.yaziPlugins.mediainfo; + glow = unstable.yaziPlugins.glow; + git = unstable.yaziPlugins.git; + diff = unstable.yaziPlugins.diff; + duckdb = unstable.yaziPlugins.duckdb; + }; + }; + programs.direnv = { enable = true; nix-direnv.enable = true;