* [PATCH] fix _mpc completion for directories with spaces
@ 2011-09-15 20:56 Gustav Munkby
0 siblings, 0 replies; only message in thread
From: Gustav Munkby @ 2011-09-15 20:56 UTC (permalink / raw)
To: zsh-workers; +Cc: Gustav Munkby
---
Completion/Unix/Command/_mpc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Completion/Unix/Command/_mpc b/Completion/Unix/Command/_mpc
index 1ff9ad9..fa8fce1 100644
--- a/Completion/Unix/Command/_mpc
+++ b/Completion/Unix/Command/_mpc
@@ -163,7 +163,7 @@ _mpc_helper_directories() {
list=( ${${(M)${(f)"$(mpc listall)"}:#*/*}%%/*})
_wanted directories expl directory compadd -qS/ -a list
else
- list=(${(f)"$(mpc lstab $words[CURRENT])"})
+ list=(${(f)"$(eval mpc lstab $words[CURRENT])"})
_wanted directories expl directory _multi_parts / list
fi
}
--
1.7.6.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-15 20:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-15 20:56 [PATCH] fix _mpc completion for directories with spaces Gustav Munkby
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).