-
Add the following line in
~/.config/xplr/init.lua
local home = os.getenv("HOME") package.path = home .. "/.config/xplr/plugins/?/init.lua;" .. home .. "/.config/xplr/plugins/?.lua;" .. package.path
-
Clone the plugin
mkdir -p ~/.config/xplr/plugins git clone https://github.com/sayanarijit/zoxide.xplr ~/.config/xplr/plugins/zoxide
-
Require the module in
~/.config/xplr/init.lua
require("zoxide").setup() -- Or require("zoxide").setup{ bin = "zoxide", mode = "default", key = "Z", } -- Type `Z` to spawn zoxide prompt.