summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Zsh/Command/_fc2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6555883e8..094a35b08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-24 Mikael Magnusson <mikachu@gmail.com>
+
+ * Oliver: 34940: Completion/Zsh/Command/_fc: fix typo breaking
+ completion for history
+
2015-04-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 34921: Src/parse.c: handle error in recursive par_event().
diff --git a/Completion/Zsh/Command/_fc b/Completion/Zsh/Command/_fc
index 133145670..c2987211e 100644
--- a/Completion/Zsh/Command/_fc
+++ b/Completion/Zsh/Command/_fc
@@ -49,7 +49,7 @@ fc_r='(-A -R -W -I -e)-l[list resulting commands on stdout]'
case $service in
history)
- _arguments "$fc_common[@]" "$fc_hist[@] && ret=0"
+ _arguments "$fc_common[@]" "$fc_hist[@]" && ret=0
;;
r)
_arguments "$fc_common[@]" "$fc_r" && ret=0