Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: auto-exec on last command
On Aug 21, 9:33pm, Jorg Sommer wrote:
}
} is it possible to advice zsh to replace its process (with exec) with
} the process of the last command?
How is the shell supposed to know what command is the "last" one?
} Something like zsh -c 'setopt execlast; $myprog' or zsh -Xc '$myprog'
} that runs the script 'exec $myprog'.
I'm a bit puzzled. If you know to set the option or pass the flag, why
can't you just use "zsh -c 'exec ...' ?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author