mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Update the plugins managment. Add the function 'omz-plugin' (inspired from bash-it)
This commit is contained in:
parent
d2725d44fc
commit
5c4f982ff7
417 changed files with 124 additions and 1 deletions
|
|
@ -1,19 +0,0 @@
|
|||
#compdef xcselv
|
||||
#autoload
|
||||
|
||||
function _xcselv_compl_list_versions() {
|
||||
_omz_xcode_list_versions short
|
||||
}
|
||||
|
||||
_arguments \
|
||||
'(-l -L -p)-h[prints a help message]' \
|
||||
'(-L -p -h)-l[lists installed Xcode versions]' \
|
||||
'(-l -p -h)-L[lists installed Xcode versions (long form)]' \
|
||||
'(-h -l -L)-p[prints active Xcode version]' \
|
||||
&& ret=0
|
||||
|
||||
local _xcode_versions
|
||||
_xcode_versions=($(_xcselv_compl_list_versions))
|
||||
_describe -t _xcode_versions 'version' _xcode_versions
|
||||
|
||||
return 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue