about summary refs log tree commit diff
path: root/Completion/Unix/Command
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 /Completion/Unix/Command
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.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_rm2
1 files changed, 1 insertions, 1 deletions
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