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

https://github.com/beh01der/xontrib-dir-picker

Directory picker / navigator for xonsh shell
https://github.com/beh01der/xontrib-dir-picker

xonsh xontrib zoxide

Last synced: about 2 months ago
JSON representation

Directory picker / navigator for xonsh shell

Awesome Lists containing this project

README

        

# xontrib-dir-picker

## Description

This module utilizes `zoxide query -i` command for directory selection
![dir-picker](./img/dir-picker.png)

## Requirements

You need [zoxide](https://github.com/ajeetdsouza/zoxide) installed on your system. See [install instructions](https://github.com/ajeetdsouza/zoxide#step-1-installing-zoxide) to get it.

## Installation

```shell
# Install the xontrib
xpip install -U xontrib-dir-picker
# or: xpip install -U git+https://github.com/Beh01der/xontrib-dir-picker.git

# Load it
xontrib load dir-picker
```

## Configuration

Define the key-binding in your `.xonshrc`:

```python
from xonsh.built_ins import XSH

XSH.env['zoxide_pick_dir'] = "c-g" # Ctrl+G
```