An open API service indexing awesome lists of open source software.

https://github.com/sayanarijit/zoxide.xplr

zoxide integration for xplr
https://github.com/sayanarijit/zoxide.xplr

Last synced: 7 months ago
JSON representation

zoxide integration for xplr

Awesome Lists containing this project

README

          

[![xplr-zoxide.gif](https://s6.gifyu.com/images/xplr-zoxide.gif)](https://gifyu.com/image/AclQ)

## Requirements

- [zoxide](https://github.com/ajeetdsouza/zoxide)

## Installation

### Install manually

- Add the following line in `~/.config/xplr/init.lua`

```lua
local home = os.getenv("HOME")
package.path = home
.. "/.config/xplr/plugins/?/init.lua;"
.. home
.. "/.config/xplr/plugins/?.lua;"
.. package.path
```

- Clone the plugin

```bash
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`

```lua
require("zoxide").setup()

-- Or

require("zoxide").setup{
bin = "zoxide",
mode = "default",
key = "Z",
}

-- Type `Z` to spawn zoxide prompt.
```