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

PATCH: _mpc bugfixes



And... R.Ramkumar.

Index: Completion/Unix/Command/_mpc
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_mpc,v
retrieving revision 1.3
diff -u -r1.3 _mpc
--- Completion/Unix/Command/_mpc	25 May 2006 03:58:35 -0000	1.3
+++ Completion/Unix/Command/_mpc	25 May 2006 03:59:33 -0000
@@ -4,15 +4,15 @@
 
 # set this style to whatever --format string you want to use when
 # constructing the list of playlist entries
-zstyle -s ':completion:${curcontext}:*' mpc-format-string MPC_FORMAT_STRING
+zstyle -s ":completion:${curcontext}:*" mpc-format-string MPC_FORMAT_STRING
 foo=(--format "${(q)MPC_FORMAT_STRING:-%file%}")
 
 # set this style to the music_directory of mpd to get _files based completion
 # for commands like "add"
-zstyle -s ':completion:${curcontext}:' mpd-music-directory MPD_MUSIC_DIR
+zstyle -s ":completion:${curcontext}:" mpd-music-directory MPD_MUSIC_DIR
 
 # matcher used for playlist completion
-zstyle -s ':completion:${curcontext}:' mpd-playlist-matcher \
+zstyle -s ":completion:${curcontext}:" mpd-playlist-matcher \
   MPC_PLAYLIST_MATCHER
 : ${MPC_PLAYLIST_MATCHER:='m:{a-z}={A-Z} l:|=**'}
 



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