xontrib-dir-picker

September 23, 2024 ยท View on GitHub

Description

This module utilizes zoxide query -i command for directory selection dir-picker

Requirements

You need zoxide installed on your system. See install instructions to get it.

Installation

# 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:

from xonsh.built_ins import XSH

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