truffle simple autocomplation was added

This commit is contained in:
= 2023-07-10 11:53:30 +03:00
commit ce6ffdd961
2 changed files with 34 additions and 0 deletions

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