From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26326 invoked by alias); 14 Jul 2014 20:37:28 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32863 Received: (qmail 27470 invoked from network); 14 Jul 2014 20:37:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Mon, 14 Jul 2014 22:29:48 +0200 From: Koen Wilde To: zsh-workers@zsh.org Subject: [PATCH] autocompletion for mpc 'insert' command Message-ID: <20140714202948.GA54724@hugin.chillheid.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline X-Envelope-From: --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline This patch teaches zsh about mpc's 'insert' command. --- Completion/Unix/Command/_mpc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Completion/Unix/Command/_mpc b/Completion/Unix/Command/_mpc index e72feef..1270767 100644 --- a/Completion/Unix/Command/_mpc +++ b/Completion/Unix/Command/_mpc @@ -25,7 +25,7 @@ _mpc_command() { local mpc_cmds mpc_cmds=( - add:"add a song to the current playlist" + add:"append a song to the end of the current playlist" clear:"clear the current playlist" crop:"remove all songs except for the currently playing song" current:"show the currently playing song" @@ -35,6 +35,7 @@ _mpc_command() { enable:"enable a output" idle:"wait until an event occurs" idleloop:"loop waiting for events" + insert:"insert a song after the currently playing song in the playlist" listall:"list all songs in the music directory" load:"load file as a playlist" ls:"list the contents of specified directory" -- 2.0.1 --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJTxD28AAoJEL0YvQEl0mefwIQQAK3k003nZpUPdI0Iip6LkxmH N95xTbrVtr4OeutrTkkikrcPtnnJCV/+Bbl7YsWFRbF/NwJnMwCV5Q92FS5XkN/2 pGyz3wqeAWIpfpVrQ0YhW0UTkUgplyN7c+nkYsFUxvnKLmg8mryN1OygwZUNLri7 T8fXsIQhA9eagEDHjqumU2KeXezwfCWW17L5aWjw9QfcMqZCjHHvTVyutPCSAK6E ECzvF+XWFjnKOy14skOezD5LxDL1AZFrc0wUrFmPB49CCHAczr8tsuvncsy4mfXO +YkLfg3y6atFtnz5zTtWPwXWBbw5vNlOQ0GQOPKbwmT35uSsJ4GHqwbfGDkjeXL/ SIPR3mzwZDconNy8Py+8iKC0ejRrT/vn9dp9xzhKcHuFBk3frSeqw+Dxg0BLaAnS SPUIoXtETgFHnULykWGzS5rAX0wi7LSO3vW0AG1VVBmzw/0DS2STeUYIJS5OQxRQ PhQ4DHbQrRqCe4SRDHLYrNghSxXz2FqLE27KCoXoJf4KxBPHZqUwka9ld0IioWhm AHkhZSWht3rInA/ZlW9Wk2N+EW6Rpw2b1iwHOYh1Gl03sljCU5rPWidDQz2ELqsX yYXHNgFx1KgmW81joiUDCDnSU56agaSTdHLCctbSDQ09viO2HHdE6Jnnsu/FGtEd H6K5ohw1qRSF+ZfNgCKW =MJQB -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--