Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
can't unalias global
- X-seq: zsh-users 11933
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: can't unalias global
- Date: Fri, 5 Oct 2007 22:14:08 +1300 (NZDT)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
as seen below, i can unset a command alias, but not a global alias. any
ideas? thanks...
% alias foo=bar
% alias -g zsh-dir=/usr/ports/shells/zsh
% alias
foo=bar
rm='rm -i'
run-help=man
which-command=whence
zsh-dir=/usr/ports/shells/zsh
% unalias foo
% unalias zsh
unalias: no such hash table element: zsh
% unhash -a zsh
unhash: no such hash table element: zsh
% alias
rm='rm -i'
run-help=man
which-command=whence
zsh-dir=/usr/ports/shells/zsh
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"If you step back and look at the data, the optimum amount of
red meat you eat should be zero."
-- Walter Willett, M.D., of Brigham and Women's
Hospital, director of a study that found a close
correlation between red meat consumption and
colon cancer.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author