Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: restarting application when it ends
- X-seq: zsh-users 15210
- From: Jérémie Roquet <arkanosis@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: restarting application when it ends
- Date: Fri, 30 Jul 2010 14:04:08 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=eGIxcZgvJ3JIWdbxTYxC6ilz3ulHsk9dw3nM8t6wAXg=; b=KHWC6CRF4PdtmeeQHABfA6Z6efdsbugML9pVHq6Hejl5ArCyTTKv/Gn4CSa3U5CipR LnoAXTvuE93+/iB3HH8jX8tTKxeByZTp+cdMyCILVqIQtSl/hY3B2i2+k8odKC27ecR9 hn2JVFNOlab9wxzBO9uk7WcbOog6z61R6/yig=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=eNsCEESJGkorEdWSYTmrMPP/b95DA+5veCOuT59sud0wzUY1H5qrZhsKyURgPzHshZ MFnUEN4xoD5jNyZiMMlIsyTGkrb8HKFuA8Zv4NLv8gsPoS6acZ4JR20UFiDw9ELsMc5o 6dZ/YHRNZRIhhUkhLmEGt5ICfdJ5Qlxan5X6E=
- In-reply-to: <20100730114427.GA7398@xxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20100730114427.GA7398@xxxxxxxxxxxxx>
Hello,
2010/7/30 Eric Smith <es@xxxxxxxxxxxx>:
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author