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

Re: error with zed



On Sep 30,  5:22pm, Ray Andrews wrote:
}
}      $ zed -f z
} 
}     z () {
}              select selection in ${path[@]}
} 
}              done
}     }

Apparently "select" is not a very frequently-used construct.

diff --git a/Src/text.c b/Src/text.c
index 7e65f43..9421d70 100644
--- a/Src/text.c
+++ b/Src/text.c
@@ -632,8 +632,10 @@ gettext2(Estate state)
 		    taddstr(" in ");
 		    taddlist(state, *state->pc++);
 		}
-		tindent++;
 		taddnl(0);
+		taddstr("do");
+		taddnl(0);
+		tindent++;
 		tpush(code, 1);
 	    } else {
 		dec_tindent();

-- 
Barton E. Schaefer



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