zsh-users
 help / color / mirror / code / Atom feed
From: "Jérémie Roquet" <arkanosis@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: restarting application when it ends
Date: Fri, 30 Jul 2010 14:04:08 +0200	[thread overview]
Message-ID: <AANLkTi=ps96fdBrZirAo0S91919Uvyy__AQdaTv71zno@mail.gmail.com> (raw)
In-Reply-To: <20100730114427.GA7398@trustfood.org>

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


  reply	other threads:[~2010-07-30 12:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-30 11:44 Eric Smith
2010-07-30 12:04 ` Jérémie Roquet [this message]
2010-07-31  8:37   ` restarting application when it ends - SOLVED Eric Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=ps96fdBrZirAo0S91919Uvyy__AQdaTv71zno@mail.gmail.com' \
    --to=arkanosis@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).