feat: use yazi as file manager

This commit is contained in:
DACHXY 2025-01-26 14:45:49 +08:00
parent 3049173514
commit 2a73c71067
6 changed files with 28 additions and 11 deletions

View file

@ -6,9 +6,7 @@ in
programs = {
fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting # Disable greeting
shellInit = ''
# Yazi
function y
set tmp (mktemp -t "yazi-cwd.XXXXXX")
@ -19,6 +17,9 @@ in
rm -f -- "$tmp"
end
'';
interactiveShellInit = ''
set fish_greeting # Disable greeting
'';
plugins = [
{
name = "grc";