1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-04-03 20:24:09 +08:00
This commit is contained in:
1llusion1st 2026-03-18 13:32:39 -04:00 committed by GitHub
commit 58829dc0f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 0 deletions

18
plugins/truffle/README.md Normal file
View File

@ -0,0 +1,18 @@
Truffle simple plugin to make commands autocomplition
=====================================================
Supported commands
------------------
- init
- compile
- migrate
- test
- exec
- develop
- console
Installation nodes
------------------
```bash
plugins=(... truffle)
```

16
plugins/truffle/_truffle Normal file
View File

@ -0,0 +1,16 @@
#compdef truffle
_arguments \
'1: :->command' \
'*: :->args'
case $state in
command)
local commands=("init" "compile" "migrate" "test" "exec" "develop" "console")
_describe "command" commands
;;
*)
_files
;;
esac