Override genghis :Trash command to use rm

This commit is contained in:
Alexander Gehrke 2024-03-15 15:18:13 +01:00
parent 99468565f2
commit 24ae47af7f

1
after/plugin/genghis.lua Normal file
View file

@ -0,0 +1 @@
vim.api.nvim_create_user_command("Trash", function() require("genghis").trashFile({ trashCmd = "rm" }) end, { desc = "Delete current file" })