diff options
| author | Stephane Chazelas <stephane@chazelas.org> | 2023-06-02 16:09:53 +0100 |
|---|---|---|
| committer | Peter Stephenson <p.stephenson@samsung.com> | 2023-06-06 09:22:18 +0100 |
| commit | 0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81 (patch) | |
| tree | 3a0d5928ee437d4e210e9224aec347baaa8c04bf /Completion/Unix/Command/_subversion | |
| parent | 51816: add :S history modifier with pattern match (diff) | |
| download | zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar.gz zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar.bz2 zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar.lz zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar.xz zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.tar.zst zsh-0577dafcaa9d5f7cdbf5637b2dea5ed71dd5af81.zip | |
Protect some :s from history modifier expansion
Diffstat (limited to 'Completion/Unix/Command/_subversion')
| -rw-r--r-- | Completion/Unix/Command/_subversion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion index 9a0328dca..ccaf310fa 100644 --- a/Completion/Unix/Command/_subversion +++ b/Completion/Unix/Command/_subversion @@ -139,7 +139,7 @@ _svn () { ;; (commit) args=( - ${args/(#b)(*--file*):arg:/$match[1]:file:_files} + ${args/(#b)(*--file*):arg:/${match[1]}:file:_files} '*:file: _svn_modified "committable"' ) ;; @@ -189,7 +189,7 @@ _svn () { args=( ':propname:(svn:ignore svn:keywords svn:executable svn:eol-style svn:mime-type svn:externals svn:needs-lock svn:global-ignores svn:auto-props)' ':propval:->propset_propval' - ${args/(#b)(*--file*):arg:/$match[1]:file:_files} + ${args/(#b)(*--file*):arg:/${match[1]}:file:_files} '*:path or url: _alternative "files:file:_files" "urls:URL:_svn_urls"' ) ;; |
