zsh-workers
 help / color / mirror / code / Atom feed
* evallineno not loading
@ 2020-11-24 11:51 Alexander Remus
  2020-11-24 11:56 ` Roman Perepelitsa
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Remus @ 2020-11-24 11:51 UTC (permalink / raw)
  To: zsh-workers

Hello,

I'm trying load evallineno option via 'setopt evallineno', but in the 
output of setopt it doesn't show. I downloaded and compiled the latest 
version from https://github.com/zsh-users/zsh, but still no luck. I am 
on Xubuntu 18.04 x64. Can anyone confirm this, or am I using it wrong?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: evallineno not loading
  2020-11-24 11:51 evallineno not loading Alexander Remus
@ 2020-11-24 11:56 ` Roman Perepelitsa
  2020-11-24 12:32   ` Stephane Chazelas
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Perepelitsa @ 2020-11-24 11:56 UTC (permalink / raw)
  To: Alexander Remus; +Cc: Zsh hackers list

On Tue, Nov 24, 2020 at 12:51 PM Alexander Remus <adr.collect@gmail.com> wrote:
>
> I'm trying load evallineno option via 'setopt evallineno', but in the
> output of setopt it doesn't show. I downloaded and compiled the latest
> version from https://github.com/zsh-users/zsh, but still no luck. I am
> on Xubuntu 18.04 x64. Can anyone confirm this, or am I using it wrong?

evallineno is set by default, and `setopt` by default only shows the
difference between the current options and the default. You can use
this command to list all options:

  zmodload zsh/parameter && printf '%-20s %s\n' ${(@kv)options}

Roman.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: evallineno not loading
  2020-11-24 11:56 ` Roman Perepelitsa
@ 2020-11-24 12:32   ` Stephane Chazelas
  0 siblings, 0 replies; 3+ messages in thread
From: Stephane Chazelas @ 2020-11-24 12:32 UTC (permalink / raw)
  To: Roman Perepelitsa; +Cc: Alexander Remus, Zsh hackers list

[...]
> evallineno is set by default, and `setopt` by default only shows the
> difference between the current options and the default. You can use
> this command to list all options:
> 
>   zmodload zsh/parameter && printf '%-20s %s\n' ${(@kv)options}
[...]

Or "set -o" or "set +o" like in any POSIX shell (except bash
which has two separate sets of options).

Note that zsh/parameter these days should be loaded
automatically when you access $options.

-- 
Stephane


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-24 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24 11:51 evallineno not loading Alexander Remus
2020-11-24 11:56 ` Roman Perepelitsa
2020-11-24 12:32   ` Stephane Chazelas

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).