Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Asking ZSH: How are you ?



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