mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-30 09:40:09 +00:00
Add autocompletion
This commit is contained in:
parent
5e805efe5d
commit
8c40604e14
1 changed files with 38 additions and 0 deletions
38
plugins/adonis/adonis.plugin.zsh
Normal file
38
plugins/adonis/adonis.plugin.zsh
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Adonis Plugin
|
||||
|
||||
# This plugin provide autocompletion for adonis
|
||||
# Adonis : https://adonisjs.com/
|
||||
|
||||
# Author: Dimensi0n | Erwan ROUSSEL
|
||||
|
||||
_adonis() {
|
||||
local -a subcmds
|
||||
|
||||
subcmds=(
|
||||
'addon:Create a new AdonisJs addon'
|
||||
'install:'
|
||||
'new'
|
||||
'repl'
|
||||
'serve'
|
||||
'key\\:generate'
|
||||
'make\\:command'
|
||||
'make\\:controller'
|
||||
'make\\:ehandler'
|
||||
'make\\:exception'
|
||||
'make\\:hook'
|
||||
'make\\:listener'
|
||||
'make\\:middleware'
|
||||
'make\\:migration'
|
||||
'make\\:model'
|
||||
'make\\:provider'
|
||||
'make\\:seed'
|
||||
'make\\:trait'
|
||||
'make\\:view'
|
||||
'route\\:list'
|
||||
'run\\:instructions'
|
||||
)
|
||||
|
||||
_describe 'adonis' subcmds
|
||||
}
|
||||
|
||||
compdef _adonis adonis
|
Loading…
Reference in a new issue