1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-07 23:51:14 +02:00

34940: _fc: fix typo breaking completion for history

This commit is contained in:
Oliver Kiddle 2015-04-24 10:54:14 +02:00 committed by Mikael Magnusson
parent 9a0f5ea8a7
commit f4d8051de1
2 changed files with 6 additions and 1 deletions

View file

@ -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().

View file

@ -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