Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: small fix in _bindkey
- X-seq: zsh-workers 5682
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: small fix in _bindkey
- Date: Mon, 8 Mar 1999 14:00:45 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
There was a missing quote...
Bye
Sven
diff -u oc/Builtins/_bindkey Completion/Builtins/_bindkey
--- oc/Builtins/_bindkey Mon Mar 8 11:05:11 1999
+++ Completion/Builtins/_bindkey Mon Mar 8 14:00:16 1999
@@ -1,6 +1,6 @@
#defcomp bindkey
-if [[ "$words[2]" = -*[DAN]* || "$words[CURRENT-1] = -*M ]]; then
+if [[ "$words[2]" = -*[DAN]* || "$words[CURRENT-1]" = -*M ]]; then
compgen -s '$(bindkey -l)'
else
compgen -b
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author