-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathomz.ts
107 lines (106 loc) · 2.21 KB
/
omz.ts
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
const completionSpec: Fig.Spec = {
name: "omz",
description: "Oh My Zsh",
subcommands: [
{
name: "help",
description: "Print the help message",
},
{
name: "changelog",
description: "Print the changelog",
},
{
name: "plugin",
description: "Manage plugins",
subcommands: [
{
name: "disable",
description: "Disable plugin(s)",
args: {
name: "plugin",
},
},
{
name: "enable",
description: "Enable plugin(s)",
args: {
name: "plugin",
},
},
{
name: "info",
description: "Get information of a plugin",
args: {
name: "plugin",
},
},
{
name: "list",
description: "List all available Oh My Zsh plugins",
},
{
name: "load",
description: "Load plugin(s)",
args: {
name: "plugin",
},
},
],
},
{
name: "pr",
description: "Manage Oh My Zsh Pull Requests",
subcommands: [
{
name: "clean",
description: "Delete all PR branches (ohmyzsh/pull-*)",
},
{
name: "test",
description: "Fetch PR #NUMBER and rebase against master",
args: {
name: "PR_number_or_URL",
},
},
],
},
{
name: "reload",
description: "Reload the current zsh session",
},
{
name: "theme",
description: "Manage themes",
subcommands: [
{
name: "list",
description: "List all available Oh My Zsh themes",
},
{
name: "set",
description: "Set a theme in your .zshrc file",
args: {
name: "theme",
},
},
{
name: "use",
description: "Load a theme",
args: {
name: "theme",
},
},
],
},
{
name: "update",
description: "Update Oh My Zsh",
},
{
name: "version",
description: "Show the version",
},
],
};
export default completionSpec;