mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-03 13:09:25 +00:00
21
modules/z/README.md
Normal file
21
modules/z/README.md
Normal file
@ -0,0 +1,21 @@
|
||||
Z
|
||||
=
|
||||
|
||||
Integrates [z][1] into Prezto, which maintains a frequently used directory
|
||||
list for fast directory changes.
|
||||
|
||||
Aliases
|
||||
-------
|
||||
|
||||
- `j` changes the current working directory to the most *frecent* match.
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
*The authors of this module should be contacted via the [issue tracker][2].*
|
||||
|
||||
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||
|
||||
[1]: https://github.com/rupa/z
|
||||
[2]: https://github.com/sorin-ionescu/prezto/issues
|
||||
|
1
modules/z/external
Submodule
1
modules/z/external
Submodule
Submodule modules/z/external added at 9bf5feb86a
19
modules/z/init.zsh
Normal file
19
modules/z/init.zsh
Normal file
@ -0,0 +1,19 @@
|
||||
#
|
||||
# Maintains a frequently used directory list for fast directory changes.
|
||||
#
|
||||
# Authors:
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# Set the directory changing command.
|
||||
_Z_CMD='j'
|
||||
|
||||
# Prevent symbolic link resolution.
|
||||
_Z_NO_RESOLVE_SYMLINKS=1
|
||||
|
||||
# Source module files.
|
||||
source "${0:h}/external/z.sh"
|
||||
|
||||
# Cleanup.
|
||||
unset _Z_{CMD,NO_RESOLVE_SYMLINKS}
|
||||
|
Reference in New Issue
Block a user