Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] autocompletion for mpc 'insert' command



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: pgp35XBOmp8zs.pgp
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author