mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-14 19:30:42 +01:00
truffle simple autocomplation was added
This commit is contained in:
16
plugins/truffle/_truffle
Normal file
16
plugins/truffle/_truffle
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user