zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] autocompletion for mpc 'insert' command
@ 2014-07-14 20:29 Koen Wilde
  0 siblings, 0 replies; only message in thread
From: Koen Wilde @ 2014-07-14 20:29 UTC (permalink / raw)
  To: zsh-workers

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-14 20:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-14 20:29 [PATCH] autocompletion for mpc 'insert' command Koen Wilde

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).