-
Notifications
You must be signed in to change notification settings - Fork 98
/
_zgen
31 lines (29 loc) · 949 Bytes
/
_zgen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#compdef zgen
# ------------------------------------------------------------------------------
# Description
# -----------
#
# Completion script for Zgen (https://github.com/tarjoilija/zgen)
#
# ------------------------------------------------------------------------------
# Authors
# -------
#
# * Martin Zeman (https://github.com/N4M3Z)
#
# ------------------------------------------------------------------------------
local -a _zgen_commands
_zgen_commands=(
"clone:clone plugin from repository"
"completions:deprecated, please use load instead"
"list:print init.zsh"
"load:clone and load plugin"
"oh-my-zsh:load oh-my-zsh base"
"prezto:load prezto base"
"reset:delete the init.zsh script"
"save:check for init.zsh script"
"selfupdate:update zgen framework from repository"
"update:update all repositories and remove the init script"
)
_describe -t commands "zgen subcommand" _zgen_commands
return 0