zsh-users
 help / color / mirror / code / Atom feed
* error with zed
@ 2015-10-01  0:22 Ray Andrews
  2015-10-01  1:52 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Ray Andrews @ 2015-10-01  0:22 UTC (permalink / raw)
  To: Zsh Users

With this dummy function:

    function z ()
    {
       select selection in ${path[@]}
    }


I source it and run it:

$ z
     1) /aWorking/Bin      3) /usr/sbin          5) /sbin
     2) /usr/local/bin     4) /usr/bin           6) /bin

       MAKE A SELECTION ... 1

...
But trying to edit the function with zed:

     $ zed -f z

    z () {
             select selection in ${path[@]}

             done
    }

... and on exiting:

     (eval):4: parse error near `done'

So far I've only found one of my functions that I can't edit
with zed, and it boils down to the single line above.  God
knows where the 'done' is coming from.  The full length function
that throws this error runs just fine but zed won't eat it.


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

end of thread, other threads:[~2015-10-01  3:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-01  0:22 error with zed Ray Andrews
2015-10-01  1:52 ` Bart Schaefer
2015-10-01  2:57   ` Ray Andrews
2015-10-01  3:48     ` Ray Andrews

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