diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_mpc | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 4db1954e0..62e33510a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-05-25 Clint Adams <clint@zsh.org> + * 22457, R. Ramkumar: Completion/Unix/Command/_mpc: + fix buggy quoting of zstyle contexts. + * 22456, R. Ramkumar: Completion/Unix/Command/_mpc: update for mpc 0.11.2. diff --git a/Completion/Unix/Command/_mpc b/Completion/Unix/Command/_mpc index 6e44c08ce..f468f3b64 100644 --- a/Completion/Unix/Command/_mpc +++ b/Completion/Unix/Command/_mpc @@ -4,15 +4,15 @@ local OUT foo MPD_MUSIC_DIR MPC_PLAYLIST_MATCHER MPC_FORMAT_STRING # 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:|=**'} |