Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Exec-ing aliases



I have found a thing that works in zsh-2.6beta13, but does not work in
3.0.0 (doubtless due to exec changes):

$ alias a='echo something'
$ exec a

In 2.6b13 it would echo something and exit. In 3.0.0 (and presumingly
in later betas) it just says "a: command not found".

-- 
hniksic@xxxxxxx              |  Student of electrical engineering
hniksic@xxxxxxxxxxxxx        |  University of Zagreb, Croatia
------------------------------------------------------------------
* Q: What is an experienced Emacs user?
* A: A person who wishes that the terminal had pedals.



Messages sorted by: Reverse Date, Date, Thread, Author