[go: up one dir, main page]

Skip to content

Commit

Permalink
53057: complete glob qualifiers following an equals expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Kiddle committed Aug 31, 2024
1 parent 678fb68 commit 6973d1d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2024-08-31 Oliver Kiddle <opk@zsh.org>

* 53057: Completion/Zsh/Context/_equal: complete glob qualifiers
following an equals expansion

* 53052: Completion/X/Command/_setxkbmap: update completion with
newer options

Expand Down
10 changes: 9 additions & 1 deletion Completion/Zsh/Context/_equal
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#compdef -equal-

_path_commands
local -a match mbegin mend

if _have_glob_qual $PREFIX; then
compset -p ${#match[1]}
compset -S '[^\)\|\~]#(|\))'
_globquals
else
_path_commands
fi

0 comments on commit 6973d1d

Please sign in to comment.