X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Frebar%2F_rebar;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Frebar%2F_rebar;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=ea0d8a674ace0b858db664756368e86668d28272;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/rebar/_rebar b/stow/oh-my-zsh/.oh-my-zsh/plugins/rebar/_rebar deleted file mode 100644 index ea0d8a6..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/plugins/rebar/_rebar +++ /dev/null @@ -1,79 +0,0 @@ -#compdef rebar - -local curcontext=$curcontext state ret=1 -typeset -ga _rebar_global_opts - -_rebar_global_opts=( - '(--help -h)'{--help,-h}'[Show the program options]' - '(--commands -c)'{--commands,-c}'[Show available commands]' - '(--version -V)'{--version,-V}'[Show version information]' - '(-vvv -vv -v)'--verbose+'[Verbosity level. Default: 0]:verbosity level:(0 1 2 3)' - '(-vvv)-v[Slightly more verbose output]' - '(-vvv)-vv[More verbose output]' - '(-v -vv)-vvv[Most verbose output]' - '(--force -f)'{--force,-f}'[Force]' - '-D+[Define compiler macro]' - '(--jobs -j)'{--jobs+,-j+}'[Number of concurrent workers a command may use. Default: 3]:workers:(1 2 3 4 5 6 7 8 9)' - '(--config -C)'{--config,-C}'[Rebar config file to use]:files:_files' - '(--profile -p)'{--profile,-p}'[Profile this run of rebar]' - '(--keep-going -k)'{--keep-going,-k}'[Keep running after a command fails]' -) - -_rebar () { - _arguments -C $_rebar_global_opts \ - '*::command and variable:->cmd_and_var' \ - && return - - case $state in - cmd_and_var) - _values -S = 'variables' \ - 'clean[Clean]' \ - 'compile[Compile sources]' \ - 'create[Create skel based on template and vars]' \ - 'create-app[Create simple app skel]' \ - 'create-node[Create simple node skel]' \ - 'list-template[List available templates]' \ - 'doc[Generate Erlang program documentation]' \ - 'check-deps[Display to be fetched dependencies]' \ - 'get-deps[Fetch dependencies]' \ - 'update-deps[Update fetched dependencies]' \ - 'delete-deps[Delete fetched dependencies]' \ - 'list-deps[List dependencies]' \ - 'generate[Build release with reltool]' \ - 'overlay[Run reltool overlays only]' \ - 'generate-appups[Generate appup files]' \ - 'generate-upgrade[Build an upgrade package]' \ - 'eunit[Run eunit tests]' \ - 'ct[Run common_test suites]' \ - 'qc[Test QuickCheck properties]' \ - 'xref[Run cross reference analysis]' \ - 'help[Show the program options]' \ - 'version[Show version information]' \ - 'apps[Application names to process]:' \ - 'case[Common Test case]:' \ - 'dump_spec[Dump reltool spec]:' \ - 'jobs[Number of workers]::workers:(0 1 2 3 4 5 6 7 8 9)' \ - 'suites[Common Test suites]::suite name:_path_files -W "(src test)" -g "*.erl(:r)"' \ - 'verbose[Verbosity level]::verbosity level:(0 1 2 3)' \ - 'appid[Application id]:' \ - 'previous_release[Previous release path]:' \ - 'nodeid[Node id]:' \ - 'root_dir[Reltool config root directory]::directory:_files -/' \ - 'skip_deps[Skip deps]::flag:(true false)' \ - 'skip_apps[Application names to not process]::flag:(true false)' \ - 'template[Template name]:' \ - 'template_dir[Template directory]::directory:_files -/' \ - && ret=0 - ;; - esac -} - -_rebar - -# Local variables: -# mode: shell-script -# sh-basic-offset: 2 -# sh-indent-comment: t -# indent-tabs-mode: nil -# End: -# ex: sw=2 ts=2 et filetype=sh