From 8c0fe8d0d0dd4bbd16c1095e25b2e3ffa1fdb0d3 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 11 Dec 2025 11:46:09 +0900 Subject: updates --- .../.config/yazi/plugins/sudo-demo.yazi/README.md | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 fedora/.config/yazi/plugins/sudo-demo.yazi/README.md (limited to 'fedora/.config/yazi/plugins/sudo-demo.yazi/README.md') diff --git a/fedora/.config/yazi/plugins/sudo-demo.yazi/README.md b/fedora/.config/yazi/plugins/sudo-demo.yazi/README.md new file mode 100644 index 0000000..8068691 --- /dev/null +++ b/fedora/.config/yazi/plugins/sudo-demo.yazi/README.md @@ -0,0 +1,25 @@ +# sudo-demo.yazi + +Just an example showing how to use `sudo` in a Yazi plugin, and the plugin itself doesn't offer any features beyond logging a message. + +## Installation + +```sh +ya pkg add yazi-rs/plugins:sudo-demo +``` + +## Usage + +Add this to your `~/.config/yazi/keymap.toml`: + +```toml +[[mgr.prepend_keymap]] +on = "" +run = "plugin sudo-demo" +``` + +Press Ctrl + t to run the plugin, you should [see a message in the log](https://yazi-rs.github.io/docs/plugins/overview#logging). + +## License + +This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file. -- cgit v1.2.3