Browse Source

[#129, #211] Remove z

master
Sorin Ionescu 12 years ago committed by Sorin Ionescu
parent
commit
b967c50faf
  1. 3
      .gitmodules
  2. 21
      modules/z/README.md
  3. 1
      modules/z/external
  4. 19
      modules/z/init.zsh

3
.gitmodules vendored

@ -7,6 +7,3 @@
[submodule "modules/completion/external"] [submodule "modules/completion/external"]
path = modules/completion/external path = modules/completion/external
url = https://github.com/zsh-users/zsh-completions.git url = https://github.com/zsh-users/zsh-completions.git
[submodule "modules/z/external"]
path = modules/z/external
url = https://github.com/rupa/z.git

21
modules/z/README.md

@ -1,21 +0,0 @@
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

@ -1 +0,0 @@
Subproject commit 9bf5feb86ac05ad32cd8fbf46d459eb415eed749

19
modules/z/init.zsh

@ -1,19 +0,0 @@
#
# 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}
Loading…
Cancel
Save