zsh-workers
 help / color / mirror / code / Atom feed
* vared 'functions[xx]'
@ 2007-12-13 17:27 Stephane Chazelas
  2007-12-13 21:23 ` Peter Stephenson
  2007-12-13 21:41 ` Peter Stephenson
  0 siblings, 2 replies; 3+ messages in thread
From: Stephane Chazelas @ 2007-12-13 17:27 UTC (permalink / raw)
  To: Zsh hackers list

Hiya,

I had an odd behavior here.

~$ a() echo foo
~$ vared functions\[a\]\
        echo foobar
zsh: not an identifier: functions[a]
~$ dpkg -l | grep zsh
ii  zsh-beta                             4.3.4-dev-4+20071212-1      A shell with lots of features (dev tree)

Above, the trailing "\ " was added by the completion system.

Still, vared showed me the content of $functions[a]. I would
have expected it to return with an error before (well instead
of) allowing me to edit the content.

Same goes for:

a=foo
vared "a "

Not a big issue, though.

Cheers,
Stephane


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

end of thread, other threads:[~2007-12-13 21:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-13 17:27 vared 'functions[xx]' Stephane Chazelas
2007-12-13 21:23 ` Peter Stephenson
2007-12-13 21:41 ` Peter Stephenson

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).