* restarting application when it ends @ 2010-07-30 11:44 Eric Smith 2010-07-30 12:04 ` Jérémie Roquet 0 siblings, 1 reply; 3+ messages in thread From: Eric Smith @ 2010-07-30 11:44 UTC (permalink / raw) To: Zsh Users Hi zsh-ers When my (asterisk) application stops, I loose the CLI and fall back into zsh. How do I configure the shell to re-execute the last command run or explicitly to refire a specific command? Thanks -- - Eric Smith ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: restarting application when it ends 2010-07-30 11:44 restarting application when it ends Eric Smith @ 2010-07-30 12:04 ` Jérémie Roquet 2010-07-31 8:37 ` restarting application when it ends - SOLVED Eric Smith 0 siblings, 1 reply; 3+ messages in thread From: Jérémie Roquet @ 2010-07-30 12:04 UTC (permalink / raw) To: Zsh Users Hello, 2010/7/30 Eric Smith <es@fruitcom.com>: > When my (asterisk) application stops, I loose the CLI > and fall back into zsh. How do I configure the shell > to re-execute the last command run or explicitly > to refire a specific command? Not sure I understood the problem, but isn't an infinite loop what you are looking for ? for ((;;)) asterisk Of if you want to do it manually : !! # if it's the last command !asterisk # otherwise !N # where N is the position in history Best regards, -- Jérémie ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: restarting application when it ends - SOLVED 2010-07-30 12:04 ` Jérémie Roquet @ 2010-07-31 8:37 ` Eric Smith 0 siblings, 0 replies; 3+ messages in thread From: Eric Smith @ 2010-07-31 8:37 UTC (permalink / raw) To: zsh-users > for ((;;)) asterisk Ahhhhhh ... perfect. I love this shell. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-31 8:37 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-07-30 11:44 restarting application when it ends Eric Smith 2010-07-30 12:04 ` Jérémie Roquet 2010-07-31 8:37 ` restarting application when it ends - SOLVED Eric Smith
Code repositories for project(s) associated with this public inbox https://git.vuxu.org/mirror/zsh/ This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).