mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 13:58:00 +00:00
878d0fbab3
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. |
||
---|---|---|
.. | ||
alias | ||
archive/functions | ||
command-not-found | ||
completion | ||
directory | ||
dpkg | ||
editor | ||
environment | ||
git | ||
gnu-utils | ||
gpg-agent | ||
history | ||
history-substring-search | ||
macports | ||
node | ||
osx | ||
pacman | ||
perl | ||
prompt | ||
python | ||
rails | ||
rsync | ||
ruby | ||
screen | ||
spectrum | ||
ssh-agent | ||
syntax-highlighting | ||
terminal | ||
tmux | ||
trap/functions | ||
utility | ||
wakeonlan | ||
yum | ||
z |