1
0
Fork 0

Add externel module z

pull/767/head
goofansu 10 years ago
parent d43bcb9720
commit 1741a9f4af

3
.gitmodules vendored

@ -16,3 +16,6 @@
[submodule "modules/prompt/functions/pure"]
path = modules/prompt/external/pure
url = https://github.com/sindresorhus/pure.git
[submodule "modules/z/externel"]
path = modules/z/externel
url = https://github.com/rupa/z.git

@ -0,0 +1,32 @@
Z
===
This is [z](https://github.com/rupa/z) ported to a prezto module.
Tracks your most used directories, based on 'frecency'.
Usage
---
```
z [-chlrtx] [regex1 regex2 ... regexn]
```
Example
---
```
z foo cd to most frecent dir matching foo
z foo bar cd to most frecent dir matching foo, then bar
z -r foo cd to highest ranked dir matching foo
z -t foo cd to most recently accessed dir matching foo
z -l foo list all dirs matching foo (by frecency)
```
For more usage information, please read the [original repository](https://github.com/rupa/z).

@ -0,0 +1 @@
Subproject commit b620b0a8af9fa4bd476087484fd0626d16fc4358

@ -0,0 +1 @@
source "${0:h}/externel/z.sh"
Loading…
Cancel
Save