This module utilizes zoxide query -i
command for directory selection
You need zoxide installed on your system. See install instructions to get it.
# 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
Define the key-binding in your .xonshrc
:
from xonsh.built_ins import XSH
XSH.env['zoxide_pick_dir'] = "c-g" # Ctrl+G