From: Koen Wilde <koen@chillheid.nl>
To: zsh-workers@zsh.org
Subject: [PATCH] autocompletion for mpc 'insert' command
Date: Mon, 14 Jul 2014 22:29:48 +0200 [thread overview]
Message-ID: <20140714202948.GA54724@hugin.chillheid.nl> (raw)
[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
reply other threads:[~2014-07-14 20:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140714202948.GA54724@hugin.chillheid.nl \
--to=koen@chillheid.nl \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).