This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/modules
Sorin Ionescu 878d0fbab3 [Fix #125] Wrap GNU utilities in functions
There are three methods for calling prefixed GNU utilities interactively
non-prefixed aliasing, hashing, and wrapper functions. Two of these
methods are unreliable and are discussed bellow for reference only.

The aliasing method is unreliable since aliases are at risk of being
overridden resulting in non-GNU utilities being called with invalid
switches.

The hashing method is unreliable because hashed commands are lost
whenever hash -r or rehash -f are called. Thus, said built-ins have to
be wrapped to rehash GNU utilities. Unfortunately, altering $path will
cause Zsh to call the built-in rehash instead of the wrapped one
resulting in the hashed commands being lost.

The wrapper function method is currently the most reliable and is the
one used.
2012-04-11 16:40:20 -04:00
..
alias [#125] Use is-callable to check for GNU utilities 2012-04-11 15:14:19 -04:00
archive/functions Merge completions into functions 2012-04-09 17:45:32 -04:00
command-not-found [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
completion Merge completions into functions 2012-04-09 17:45:32 -04:00
directory Add an alias to dirs 2012-04-09 17:45:33 -04:00
dpkg [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
editor Rename $editor_keymap_info to $editor_info[keymap] 2012-04-10 10:27:56 -04:00
environment [#23] Convert environment into a module 2012-04-05 13:39:43 -04:00
git Remove '--mixed' from the 'gir' alias 2012-04-09 17:45:32 -04:00
gnu-utils [Fix #125] Wrap GNU utilities in functions 2012-04-11 16:40:20 -04:00
gpg-agent [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
history Move history-stat from utility into history 2012-04-09 17:39:09 -04:00
history-substring-search Rename $keyinfo to $key_info for consistency 2012-04-09 18:47:09 -04:00
macports [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
node [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
osx [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
pacman [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
perl Merge completions into functions 2012-04-09 17:45:32 -04:00
prompt [Fix #126] Do not evaluate undefined $git_info 2012-04-11 12:29:45 -04:00
python [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
rails [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
rsync [#23] Remove unnecessary compdef calls 2012-04-08 15:07:14 -04:00
ruby [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
screen [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
spectrum Simplify a few unsets 2012-04-09 17:45:32 -04:00
ssh-agent Simplify a few unsets 2012-04-09 17:45:32 -04:00
syntax-highlighting [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
terminal Add usage information for terminal 2012-04-09 17:45:33 -04:00
tmux [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
trap/functions Convert add-zsh-trap into a module 2012-04-09 17:41:55 -04:00
utility Move history-stat from utility into history 2012-04-09 17:39:09 -04:00
wakeonlan Merge completions into functions 2012-04-09 17:45:32 -04:00
yum [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00
z [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00