* mpc song number completion
@ 2010-11-12 12:42 Matt Smith
0 siblings, 0 replies; only message in thread
From: Matt Smith @ 2010-11-12 12:42 UTC (permalink / raw)
To: zsh-users
mpc version 0.18 removed song numbers from the output of `mpc playlist`,
breaking zsh completion of song numbers such as in `mpc play`. The old
behavior can be restored by adding "%position%) " to the beginning of the
--format string (this variable was introduced in 0.19).
One-liner:
zstyle ':completion:*:*:mpc:*' mpc-format-string "%position%) %file%"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-12 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-12 12:42 mpc song number completion Matt Smith
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).