Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: logout from interactive subshell
- X-seq: zsh-users 10840
- From: "Com MN PG P E B Consultant 3" <mn-pg-p-e-b-consultant-3.com@xxxxxxxxxxx>
- To: "Mikael Magnusson" <mikachu@xxxxxxxxx>, "zsh-users Mailinglist" <zsh-users@xxxxxxxxxx>, <bug-bash@xxxxxxx>
- Subject: RE: logout from interactive subshell
- Date: Thu, 12 Oct 2006 12:08:57 +0200
- In-reply-to: <jefydtsvyt.fsf@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Thread-index: Acbt5Gofkce67CUmTc632V6y2K8TdAAAfbNg
- Thread-topic: logout from interactive subshell
> > rlogin foobar
> > DO SOME STUFF
> > cleartool setview myview # this creates a subshell
> > DO MORE STUFF
> > cleartool setview yourview # now I'm two subshells deep
> > DO STILL MORE STUFF
> > # Now I want to exit
> > exit
> > exit
> > logout
> >
> > I would like to have a (interactive) command which does the
> final two
> > exits plus
> > a logout for me.
>
> exec cleartool ....
I gave "cleartool" just as an example. The point is not that I do not
want
the subshells to NOT be created. In contrary, I *want* to have the
subshells
(and they are not always created by setting a view, but sometimes simply
by invoking "bash" or "zsh" respectively), because I often want to make
changes in the environment, do something, and then undo the changes,
i.e.
go back to the previous state of the environment. But there *are* quite
often
cases that I am deep in a series of interactive subshells, and decide I
do not want to back up one or two levels, but leave all of them and
logout.
So your solution doesn't solve the original problem either....
Ronald
--
Ronald Fischer (phone +49-89-63676431)
mailto:mn-pg-p-e-b-consultant-3.com@xxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author