Update Teamocil completion

This commit is contained in:
Petr Zelenin 2014-07-06 12:07:10 +06:00
parent 3280bc4274
commit 44553eaaeb
1 changed files with 9 additions and 17 deletions

View File

@ -1,6 +1,6 @@
#compdef teamocil #compdef teamocil
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users # Copyright (c) 2014 Github zsh-users - https://github.com/zsh-users
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -28,28 +28,20 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for Teamocil (https://github.com/remiprev/teamocil) # Completion script for Teamocil 0.4.5 (https://github.com/remiprev/teamocil).
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
# ------- # -------
# #
# * Grigory V. <floatboth@me.com> # * Petr Zelenin <petr.zelenin@gmail.com>
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
_arguments \ _arguments \
'--here[open the session from the current window]' \ '--here[set up the first window in the current window]' \
'--layout[specify a custom file path to a YAML layout file]:teamocil layout file:_files -g "*.yml"' \ '--edit[edit the YAML layout file instead of using it]' \
'--edit[open the layout file (whether or not --layout is used) with $EDITOR]' \ '--layout [use a specific layout file, instead of \`~/.teamocil/<layout>.yml\`]' \
'1:teamocil layout:_files -W ~/.teamocil -g "*.yml(:r)"' '--list[list all available layouts in \`~/.teamocil/\`]' \
'--show[show the content of the layout file instead of executing it]' \
# Local Variables: '*:teamocil layouts:_files -W ~/.teamocil -g "*.yml(:r)"'
# mode: Shell-Script
# sh-indentation: 2
# indent-tabs-mode: nil
# sh-basic-offset: 2
# End:
# vim: ft=zsh sw=2 ts=2 et