about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-05-25 04:01:11 +0000
committerClint Adams <clint@users.sourceforge.net>2006-05-25 04:01:11 +0000
commit9e46734898beb0316d2dc18a0ad339f72975c005 (patch)
tree5fae3f2f6a2d81ccaed574df4130317f1db167a9 /Completion/Unix
parent49365f454208853babe348841671339ac9558ad7 (diff)
downloadzsh-9e46734898beb0316d2dc18a0ad339f72975c005.tar.gz
zsh-9e46734898beb0316d2dc18a0ad339f72975c005.tar.xz
zsh-9e46734898beb0316d2dc18a0ad339f72975c005.zip
22457, R. Ramkumar: fix buggy quoting of zstyle contexts.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_mpc6
1 files changed, 3 insertions, 3 deletions
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:|=**'}