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

zed shebang and typo ?

I really enjoyed using zed as my favorite "open mode" editor!
I just regret that it has not a valid shebang by default to be run
directly by other processes than zsh (for example as ui.editor in

I don't know if it's a reasonable demand to add a sheband in standard release?
Note that is clearly not a blocker since we can always use a short
wrapper script instead.

Another thing: zed script has maybe a typo inside that doesn't seem to
get fixed in cvs

I would like to take the opportunity of this email to thank all the
zsh developpers and people of the list
--- zed.orig	2010-01-29 20:20:24.000000000 +0100
+++ zed	2010-01-29 20:22:14.000000000 +0100
@@ -1,4 +1,4 @@
 # zed
 # No other shell could do this.
@@ -74,7 +74,7 @@
   var="$(functions $1)"
   # If function is undefined but autoloadable, load it
   if [[ $var = *\#\ undefined* ]] then
-      ar="$(autoload +X $1; functions $1)"
+    var="$(autoload +X $1; functions $1)"
   elif [[ -z $var ]] then
     var="$1() {

Messages sorted by: Reverse Date, Date, Thread, Author