Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Asking ZSH: How are you ?
- X-seq: zsh-users 9089
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Asking ZSH: How are you ?
- Date: Sun, 10 Jul 2005 16:26:37 +0000
- In-reply-to: <1m18uif1pp5e5$.nnwjpdzchmqu$.dlg@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050709.165213.74740823.Meino.Cramer@xxxxxx> <20050709151736.GA382@DervishD> <m6b6fm1b79y7.13jinvogu8q6.dlg@xxxxxxxxxx> <20050710071800.GA583@DervishD> <1m18uif1pp5e5$.nnwjpdzchmqu$.dlg@xxxxxxxxxx>
On Jul 10, 12:38pm, Thorsten Kampe wrote:
} Subject: Re: Asking ZSH: How are you ?
}
} * DervishD (2005-07-10 08:18 +0100)
} > Have you looked at the code for 'allopt'? I think that *that* is
} > too much ;)
}
} "allopt" was the way to go before "set -o" was introduced recently.
} Before that you had to do "setopt kshoptionprint; setopt; unsetopt"
"allopt" could be improved by switching to "set -o" but that isn't
really why it was written. It was written to eliminate the double
negatives in the output.
Run
diff =(set -o) =(allopt)
and you'll see e.g.
1c1
< noaliases off
---
> aliases on
3c3
< noalwayslastprompt off
---
> alwayslastprompt on
(etc.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author