| To: | pcp developers <pcp@xxxxxxxxxxx> |
|---|---|
| Subject: | pcp zsh completion: improve archives completion |
| From: | Marko Myllynen <myllynen@xxxxxxxxxx> |
| Date: | Thu, 16 Jun 2016 20:20:52 +0300 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Organization: | Red Hat |
| Reply-to: | Marko Myllynen <myllynen@xxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
If no archives are found, ignore non-archive files and offer dirs only.
---
src/zshrc/_pcp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/zshrc/_pcp b/src/zshrc/_pcp
index 56b0b09..f68d713 100644
--- a/src/zshrc/_pcp
+++ b/src/zshrc/_pcp
@@ -453,7 +453,7 @@ _pcp () {
if [[ $#archives -gt 0 && $archives = *.index* ]]; then
_values -s , -w archive ${archives/.index} && ret=0
else
- _wanted archives expl archive _files && ret=0
+ _wanted archives expl archive _files -/ && ret=0
fi
;;
containers)
Thanks,
--
Marko Myllynen
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | ÐÐÐÐÐÐÐÐ ÐÐÐÐÐÐÐÐ: ÐÐÐ ÐÐÐÐÐÐÐÐ ÐÐÐÐÐÐ, ÐÑÑÐÐÐÐÐ ÐÑÐÐÐ ÐÐÑ ÑÐÐÐÑÐÐÐÑÐÐÑ |
|---|---|
| Next by Date: | [Bug 1331973] memory leak in erroneous derived-metrics, bugzilla |
| Previous by Thread: | ÐÐÐÐÐÐÐÐ ÐÐÐÐÐÐÐÐ: ÐÐÐ ÐÐÐÐÐÐÐÐ ÐÐÐÐÐÐ, ÐÑÑÐÐÐÐÐ ÐÑÐÐÐ ÐÐÑ ÑÐÐÐÑÐÐÐÑÐÐÑ |
| Next by Thread: | qa/720 ?, Ken McDonell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |