forked from bas-jan/zsh-air
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zsh-air.plugin.zsh
66 lines (63 loc) · 1.03 KB
/
zsh-air.plugin.zsh
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
function listAirCompletions {
reply=(
# options
-h --help
# completions
pokemon fetchall
yarn yarnall
npm npmall
init
startair
build
buildall
list
listall
start
startall
recreate
recreaterunning
recreateall
restart
restartall
logs
logsall
tail logstail
stat stats
stop
stopall
up
down
remove
removeall
cleanvolumes
cleanimages
cleanimages:force
greenplum
greenplum start
greenplum stop
greenplum delete
greenplum restart
airsysteem systeem
airsysteem systeem start
airsysteem systeem stop
airsysteem systeem delete
airsysteem systeem restart
usermanagement
usermanagement start
usermanagement stop
usermanagement delete
usermanagement restart
unlock
createproject
mergedependabot
)
}
if ! [[ -z "$AIR_DEV_PATH" ]]
then
# register aliases
alias air=$AIR_DEV_PATH/tools/aio.sh
alias aio=$AIR_DEV_PATH/tools/aio.sh
alias dca=$AIR_DEV_PATH/tools/aio.sh
# Load completions on aio.sh
compctl -K listAirCompletions aio.sh
fi