Cosmetic changes

This commit is contained in:
Julien Nicoulaud 2011-07-22 00:35:27 +02:00
parent 05a42d2d1e
commit 0b4b70ef15
5 changed files with 44 additions and 21 deletions

View File

@ -13,10 +13,12 @@ See [issues](zsh-completions/issues) for details on each completion definition.
Usage Usage
----- -----
Drop the scripts in a directory included in your `$fpath`. Drop the scripts in a directory included in your `$fpath`, for example:
git clone git://github.com/zsh-users/zsh-completions.git
fpath=(path/to/zsh-completions $fpath)
License License
------- -------
See each file for license details. See each file for license details.

14
_ack
View File

@ -25,18 +25,18 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Description
# -----------
#
# Completion script for ack (http://betterthangrep.com).
#
# ------------------------------------------------------------------------------
# Authors # Authors
# ------- # -------
# #
# * Julien Nicoulaud <julien.nicoulaud@gmail.com> # * Julien Nicoulaud <julien.nicoulaud@gmail.com>
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Status
# ------
#
# See FIXME and TODO tags.
#
# ------------------------------------------------------------------------------
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*- # -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
# vim: ft=zsh sw=2 ts=2 et # vim: ft=zsh sw=2 ts=2 et
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@ -147,7 +147,7 @@ _ack_colors() {
_ack_type_defs() { _ack_type_defs() {
local ret=1 local ret=1
if compset -P '*='; then if compset -P '*='; then
_message -e extensions 'extensions list' && ret=0 // TODO Provide the extensions of the files in the current dir here ? _message -e extensions 'extensions list' && ret=0 # TODO Provide the extensions of the files in the current dir here ?
else else
_message -e type-name 'type name' && ret=0 _message -e type-name 'type name' && ret=0
fi fi

14
_mvn
View File

@ -25,18 +25,20 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Description
# -----------
#
# Completion script for Maven (http://maven.apache.org).
#
# Status: Incomplete, see FIXME and TODO tags.
#
# ------------------------------------------------------------------------------
# Authors # Authors
# ------- # -------
# #
# * Julien Nicoulaud <julien.nicoulaud@gmail.com> # * Julien Nicoulaud <julien.nicoulaud@gmail.com>
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Status
# ------
#
# See FIXME and TODO tags.
#
# ------------------------------------------------------------------------------
# How to tweak # How to tweak
# ------------ # ------------
# #

17
_pip
View File

@ -1,4 +1,21 @@
#compdef pip #compdef pip
# ------------------------------------------------------------------------------
# Description
# -----------
#
# Completion script for pip (http://pypi.python.org/pypi/pip).
#
# ------------------------------------------------------------------------------
# Authors
# -------
#
# * Dmitry Gladkov (https://github.com/dgladkov)
#
# ------------------------------------------------------------------------------
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
# vim: ft=zsh sw=2 ts=2 et
# ------------------------------------------------------------------------------
local subcmds local subcmds

14
_play
View File

@ -25,18 +25,20 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Description
# -----------
#
# Completion script for Play! framework (http://www.playframework.org).
#
# Status: Incomplete, see FIXME and TODO tags.
#
# ------------------------------------------------------------------------------
# Authors # Authors
# ------- # -------
# #
# * Julien Nicoulaud <julien.nicoulaud@gmail.com> # * Julien Nicoulaud <julien.nicoulaud@gmail.com>
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Status
# ------
#
# See FIXME and TODO tags.
#
# ------------------------------------------------------------------------------
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*- # -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
# vim: ft=zsh sw=2 ts=2 et # vim: ft=zsh sw=2 ts=2 et
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------