Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Returning to vanilla ZSH during run-time?
- X-seq: zsh-users 12610
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "zsh users" <zsh-users@xxxxxxxxxx>
- Subject: Re: Returning to vanilla ZSH during run-time?
- Date: Sat, 16 Feb 2008 23:23:54 -0800
- In-reply-to: <2d460de70802161820l3f7d5c22w10dcbf6ebec7b697@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70802160530k23cfaac2k4fa8915a57d66b46@xxxxxxxxxxxxxx> <237967ef0802160702u37446cffq9a910cdbd5d6d83b@xxxxxxxxxxxxxx> <2d460de70802160713y21f00880mda43b4915ddd8375@xxxxxxxxxxxxxx> <237967ef0802160716i233e90b0tad66776cd95c0bc3@xxxxxxxxxxxxxx> <2d460de70802160727u3c073130t4de1e1d4747bcf89@xxxxxxxxxxxxxx> <080216081452.ZM30973@xxxxxxxxxxxxxxxxxxxxxx> <2d460de70802160826i1aea2860nb2578d64dbbb186e@xxxxxxxxxxxxxx> <20080217000323.GO619@xxxxxxxxxxxxxxxxxxx> <2d460de70802161820l3f7d5c22w10dcbf6ebec7b697@xxxxxxxxxxxxxx>
On Feb 17, 3:20am, Richard Hartmann wrote:
}
} 1) start shell normally, including rc files
} 2) test random stuff, change settings, whatever
} 3) ???
} 4) Profit. Alternatively, a way to revert to the state right after 1) with
} the possible exception of history stack.
}
} If there is a
}
} 1a) Run command to save current state
}
} that would not hurt either, though doing it without would be better, of
} course.
I still don't follow why (1a) isn't "zsh -i" and (3) "exit". Why do you
need this all to happen in the same shell? What's the benefit?
To see why the shell doesn't "just do this", have a look at the script
Util/reporter in the zsh distribution, which has a go at being "run
command to save current state", and notice that with all the possible
different combinations of loadable modules and so on that even those
500-odd lines don't manage to cover everything, by a long shot.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author