1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-05 01:33:37 +08:00
ohmyzsh/plugins/z
2020-03-11 18:17:08 +01:00
..
Makefile
README 'plugins/z/README: Solve typos' 2016-12-30 10:34:16 -02:00
README.md z: add markdown Readme (#8715) 2020-03-11 18:17:08 +01:00
z.1 Update z to latest version (#7021) 2018-07-29 17:43:15 +02:00
z.plugin.zsh z plugin: fix loading from custom location 2015-11-27 17:12:09 +01:00
z.sh z: update to latest version (e77e938) 2019-09-13 11:44:20 +02: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 README (in man page format, copied from rupa/z).