forked from zsh-users/zsh-completions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_thor
23 lines (21 loc) · 821 Bytes
/
_thor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#compdef thor
# ------------------------------------------------------------------------------
# Description
# -----------
#
# Completion script for thor (https://github.com/wycats/thor).
#
# Source: https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/thor
#
# ------------------------------------------------------------------------------
# Authors
# -------
#
# * Andrew Hodges (https://github.com/betawaffle)
#
# ------------------------------------------------------------------------------
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
# vim: ft=zsh sw=2 ts=2 et
# ------------------------------------------------------------------------------
# FIXME This should be rewritten using up-to-date ZSH completion API.
compadd `thor list | grep thor | cut -d " " -f 2`