home/.zsh/oh-my-zsh/plugins/z
2026-11-19 19:29:16 +01:00
..
img added oh-my-ssh back as raw code, not as a submodule. 2026-11-19 19:29:16 +01:00
_z added oh-my-ssh back as raw code, not as a submodule. 2026-11-19 19:29:16 +01:00
LICENSE added oh-my-ssh back as raw code, not as a submodule. 2026-11-19 19:29:16 +01:00
MANUAL.md added oh-my-ssh back as raw code, not as a submodule. 2026-11-19 19:29:16 +01:00
README.md added oh-my-ssh back as raw code, not as a submodule. 2026-11-19 19:29:16 +01:00
z.plugin.zsh added oh-my-ssh back as raw code, not as a submodule. 2026-11-19 19:29:16 +01:00

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 MANUAL (copied from agkozak/zsh-z).