1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-21 03:41:57 +00:00
ohmyzsh/plugins/z/README.md

25 lines
713 B
Markdown
Raw Normal View History

2020-03-11 17:17:08 +00:00
# z - jump around
This plugin defines the [z command](https://github.com/agkozak/zsh-z) that tracks your most visited directories and allows you to access them with very few keystrokes.
2020-03-11 17:17:08 +00:00
### Example
2020-03-11 17:17:08 +00:00
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:
```bash
/usr/bin$ z plug # Even 'z p' might suffice
~/.oh-my-zsh/plugins$
```
### Setup
2020-03-11 17:17:08 +00:00
To enable z, add `z` to your `plugins` array in your zshrc file:
```zsh
plugins=(... z)
```
### Further reading
For advanced usage and details of z, see [MANUAL](./MANUAL.md) (copied from [agkozak/zsh-z](https://github.com/agkozak/zsh-z)).