Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Simple way to save/restore options?
- X-seq: zsh-users 847
- From: Andrej Borsenkow <borsenkow.msk@xxxxxx>
- To: Zsh users mailing list <zsh-users@xxxxxxxxxxxxxxx>
- Subject: Simple way to save/restore options?
- Date: Mon, 12 May 1997 16:00:09 +0400 (MSD)
- Reply-to: borsenkow.msk@xxxxxx
I am using zsh-3.1.1 (just switched on to 3.1.2) and have small problem.
I set some options in ~/.zshenv (e.g. nobanghist) and use the following
in /etc/zprofile:
emulate sh
. /etc/profile
emulate zsh
It appears, that emulate sh (or emulate zsh) resets some options (notably
nobangihst). Is there more simple way to source /etc/profile in /bin/sh
mode and preserve any settings made before?
thanks in advance
-------------------------------------------------------------------------
Andrej Borsenkow Fax: +7 (095) 252 01 05
SNI ITS Moscow Tel: +7 (095) 252 13 88
NERV: borsenkow.msk E-Mail: borsenkow.msk@xxxxxx
-------------------------------------------------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author