xontrib-z

Tracks your most used directories, based on 'frecency'.

GPL-3.0 License

Stars
24

xontrib-z

Port of z to xonsh.

Installation

Just do a

pip install xontrib-z

or you can clone the repo with pip

pip install git+https://github.com/AstraLuma/xontrib-z

Configuration

To automatically load z startup, put

xontrib load z

in your .xonshrc

Environment variables

The location of the data file is determined by setting the environment variable _Z_DATA (default ~/.z if not set).

  • Ignore case-sensitive matching by setting _Z_CASE_SENSITIVE to False.
  • Exclude directories from consideration by adding them to _Z_EXCLUDE_DIRS.
  • Ignore symlinks by setting _Z_NO_RESOLVE_SYMLINKS to True.