summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2022-01-26 14:18:44 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2022-01-29 10:08:40 +0000
commitcb2b0e7c6cdd851f79b6856335e8ab7a3d3d1935 (patch)
tree4ab2d9175d440448638dd3b2cfc82c55710e015b
parent63425124835ec6c5cccdb17b50ac2a4cb8a0e90f (diff)
downloadzsh-cb2b0e7c6cdd851f79b6856335e8ab7a3d3d1935.tar.gz
zsh-cb2b0e7c6cdd851f79b6856335e8ab7a3d3d1935.tar.xz
zsh-cb2b0e7c6cdd851f79b6856335e8ab7a3d3d1935.zip
49712: _subversion: svn rm: Complete all svn-controlled files, not only missing/deleted files
Note that currently, _svn_controlled matches all files.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_subversion2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3636b8e65..9d308258a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2022-01-29  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 49712: Completion/Unix/Command/_subversion: svn rm: Complete
+	all svn-controlled files, not only missing/deleted files
+
 	* 49711: Completion/Unix/Command/_subversion: _svn_status:
 	Don't offer unversioned files
 
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 2f66c3522..9ef3077f6 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -146,7 +146,7 @@ _svn () {
           ;;
           (delete)
             args+=(
-              '*:file:_files -g ".svn(/e:_svn_deletedfiles:)"'
+              '*:file:_files -g "*(e:_svn_controlled:)"'
             )
           ;;
           (diff)