1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-24 06:40:07 +00:00
ohmyzsh/plugins/z
2024-03-26 09:55:16 +01:00
..
img feat(z): update to version afaf2965 (#12136) 2023-12-28 22:05:37 +01:00
_z feat(z): update to latest upstream version 2023-04-28 09:07:43 +02:00
LICENSE feat(z): update to latest upstream version 2023-04-28 09:07:43 +02:00
MANUAL.md style: remove trailing whitespace (#12303) 2024-03-26 09:55:16 +01:00
README.md feat(z): replace rupa/z with agkozak/zsh-z (#11236) 2022-10-18 19:10:55 +02:00
z.plugin.zsh feat(z): update to version afaf2965 (#12136) 2023-12-28 22:05:37 +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).