fixing some yazi and working on server

This commit is contained in:
Matt Nish-Lapidus 2025-04-14 12:29:32 -04:00
parent f2e2a045d8
commit 3ed1509126
6 changed files with 43 additions and 15 deletions

View file

@ -1,6 +1,18 @@
require("git"):setup()
require("dir-rules"):setup()
require("restore"):setup({
-- Set the position for confirm and overwrite dialogs.
-- don't forget to set height: `h = xx`
-- https://yazi-rs.github.io/docs/plugins/utils/#ya.input
position = { "center", w = 70, h = 40 }, -- Optional
-- Show confirm dialog before restore.
-- NOTE: even if set this to false, overwrite dialog still pop up
show_confirm = true, -- Optional
})
Status:children_add(function()
local h = cx.active.current.hovered
if h == nil or ya.target_family() ~= "unix" then