1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 18:10:56 +01:00

44144: _builtin: Append "builtin" to precommands

This commit is contained in:
Matthew Martin 2019-03-21 19:46:22 -05:00
parent 922cf49830
commit 8e4566e536
2 changed files with 5 additions and 0 deletions

View file

@ -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.

View file

@ -1,5 +1,7 @@
#compdef builtin
precommands+=(builtin)
if (( $CURRENT > 2 )); then
shift words
(( CURRENT -- ))