Fish-shell like prevd
and nextd
for xonsh with keyboard shortcuts
- install using pip
pip install xontrib-hist-navigator
- or xpip (that is installed alongside xonsh)
xpip install xontrib-hist-navigator
- add to list of xontribs loaded.
xontrib load hist_navigator
- it keeps track of
cd
usage per session - Shortcuts
command | description | shortcut |
---|---|---|
nextd | move to previous working directory | Alt + Left Arrow |
prevd | move to next working directory in the history (if prevd is used) |
Alt + Right Arrow |
listd | list cd history | |
cd .. | move to parent directory | Alt + Up Arrow |
semantic-release --patch # or --minor/--major