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

PATCH: _fc: Remove a spurious 2



AFAICS, -2 isn't an option more than any other number is, and this broke
history -<tab> completion.

Introduced in f972b023

---
 Completion/Zsh/Command/_fc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Completion/Zsh/Command/_fc b/Completion/Zsh/Command/_fc
index 1331456..ccdc3fa 100644
--- a/Completion/Zsh/Command/_fc
+++ b/Completion/Zsh/Command/_fc
@@ -32,7 +32,7 @@ else
 fi
 
 fc_hist=(
-  '(-A -R -W -I -a -p -P 2)-m[treat argument as a pattern]'
+  '(-A -R -W -I -a -p -P)-m[treat argument as a pattern]'
   '(-A -R -W -I -e -f -E -i -t -a -p -P)-d[print time-stamps]'
   '(-A -R -W -I -e -d -E -i -t -a -p -P)-f[mm/dd/yyyy format time-stamps]'
   '(-A -R -W -I -e -d -f -i -t -a -p -P)-E[dd.mm.yyyy format time-stamps]'
-- 
2.2.0.GIT



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