Merge pull request #1228 from nbkenichi/port

Update MacPorts completion
This commit is contained in:
Shohei YOSHIDA 2026-03-03 18:27:13 +09:00 committed by GitHub
commit 3a218ab0ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -91,7 +91,11 @@ _port() {
'rev-upgrade' 'search' 'select' 'selfupdate' 'snapshot' 'sync' 'usage' 'rev-upgrade' 'search' 'select' 'selfupdate' 'snapshot' 'sync' 'usage'
) )
local -a show_installed_package_commands=( local -a show_installed_package_commands=(
contents deactivate setrequested space unsetrequested uninstall uninstall upgrade
activate deactivate
dependents rdependents
setrequested unsetrequested setunrequested
space location contents
) )
local -a options=() local -a options=()
@ -140,7 +144,7 @@ _port() {
(edit) (edit)
options+=('--editor[Use the specified editor]:editor') options+=('--editor[Use the specified editor]:editor')
;; ;;
(help) (help|usage)
options+=('1:action:_port_actions') options+=('1:action:_port_actions')
;; ;;
(info) (info)