about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2008-11-23 18:23:28 +0000
committerBart Schaefer <barts@users.sourceforge.net>2008-11-23 18:23:28 +0000
commit6636282a1607343553c2aab52defc165b0e97838 (patch)
tree3aa76f8287f57c8556866004a60a7c9300742094
parent33b846810cf4e8d29e38b25246e676438ae5a1bf (diff)
downloadzsh-6636282a1607343553c2aab52defc165b0e97838.tar.gz
zsh-6636282a1607343553c2aab52defc165b0e97838.tar.xz
zsh-6636282a1607343553c2aab52defc165b0e97838.zip
users/13477: call _files instead of _path_files to correctly handle
cycling through choices.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_rm2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a04f0452a..7f8ce7d9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-23  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* users/13477: Completion/Unix/Command/_rm: call _files instead
+	of _path_files to correctly handle cycling through choices.
+
 2008-11-20  Peter Stephenson  <pws@csr.com>
 
 	* 26075: Functions/Calendar/calendar_parse: update repeated events
diff --git a/Completion/Unix/Command/_rm b/Completion/Unix/Command/_rm
index 4209134b0..815bbbdf8 100644
--- a/Completion/Unix/Command/_rm
+++ b/Completion/Unix/Command/_rm
@@ -34,7 +34,7 @@ case $state in
   (file)
     declare -a ignored
     ignored=(${line//(#m)[\[\]()\\*?#<>~\^]/\\$MATCH})
-    _path_files -F ignored && ret=0
+    _files -F ignored && ret=0
     ;;
 esac