mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
2d32e9be66
For details and rationale, see: https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html Closes #10518 |
||
---|---|---|
.. | ||
Makefile | ||
README | ||
README.md | ||
z.1 | ||
z.plugin.zsh | ||
z.sh |
z - jump around
This plugin defines the z command that tracks your most visited directories and allows you to access them with very few keystrokes.
Example
Assume that you have previously visited directory ~/.oh-my-zsh/plugins
. From any folder in your command line, you can quickly access it by using a regex match to this folder:
/usr/bin$ z plug # Even 'z p' might suffice
~/.oh-my-zsh/plugins$
Setup
To enable z, add z
to your plugins
array in your zshrc file:
plugins=(... z)
Further reading
For advanced usage and details of z, see README (in man page format, copied from rupa/z).