From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29365 invoked by alias); 1 Oct 2015 00:22:21 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20671 Received: (qmail 17445 invoked from network); 1 Oct 2015 00:22:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_HDRS_LCASE, T_MANY_HDRS_LCASE autolearn=ham autolearn_force=no version=3.4.0 X-Authority-Analysis: v=2.1 cv=X+5rdgje c=1 sm=1 tr=0 a=62AtbbSsrca3scplPJj5lw==:117 a=62AtbbSsrca3scplPJj5lw==:17 a=IkcTkHD0fZMA:10 a=LH88Z8_3zSXSQJUo85EA:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=ePHPUDZiWt7hUmrr:21 a=UAhczJb278_iuql1:21 a=QEXdDO2ut3YA:10 Message-id: <560C7CB7.8090107@eastlink.ca> Date: Wed, 30 Sep 2015 17:22:15 -0700 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-version: 1.0 To: Zsh Users Subject: error with zed Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit 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.