Metadata-Version: 2.1
Name: xontrib-dir-picker
Version: 1.0.2
Summary: Directory picker / navigator for xonsh shell
Home-page: https://github.com/Beh01der/xontrib-dir-picker.git
Author: Andrey Chausenko
Author-email: andrey@memz.au
Keywords: shell,xonsh,xontrib
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: System :: Shells
Classifier: Topic :: System :: System Shells
Classifier: Topic :: Terminals
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# xontrib-dir-picker

## Description

This modules 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
```
