diff options
author | Matthew Martin <phy1729@gmail.com> | 2019-03-21 19:46:22 -0500 |
---|---|---|
committer | Matthew Martin <phy1729@gmail.com> | 2019-03-21 22:04:55 -0500 |
commit | 8e4566e5365e4fbefec55a7c28432dd241987ea6 (patch) | |
tree | 25d7c9ece82cda52dba69995ca9757c883801d7d | |
parent | 922cf4983081e46af20075034bd6f5f670d1a2f7 (diff) | |
download | zsh-8e4566e5365e4fbefec55a7c28432dd241987ea6.tar.gz zsh-8e4566e5365e4fbefec55a7c28432dd241987ea6.tar.xz zsh-8e4566e5365e4fbefec55a7c28432dd241987ea6.zip |
44144: _builtin: Append "builtin" to precommands
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Zsh/Command/_builtin | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9df583af3..172e63d85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,9 @@ 2019-03-21 Matthew Martin <phy1729@gmail.com> + * 44144: Completion/Zsh/Command/_builtin: Append "builtin" to + precommands. + * 44155: Completion/Base/Utility/_pick_variant: Update builtin check. diff --git a/Completion/Zsh/Command/_builtin b/Completion/Zsh/Command/_builtin index 9fb6acf7b..a77af9879 100644 --- a/Completion/Zsh/Command/_builtin +++ b/Completion/Zsh/Command/_builtin @@ -1,5 +1,7 @@ #compdef builtin +precommands+=(builtin) + if (( $CURRENT > 2 )); then shift words (( CURRENT -- )) |