[feedgnuplot] 07/10: zsh completion: --hardcopy suggests filenames too

Dima Kogan dima at secretsauce.net
Sun Oct 29 21:09:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkogan pushed a commit to annotated tag debian/1.45-1
in repository feedgnuplot.

commit 07a109b09ad2b819075137483d48d3b5023b79a7
Author: Dima Kogan <dima at secretsauce.net>
Date:   Wed Oct 11 18:42:17 2017 -0700

    zsh completion: --hardcopy suggests filenames too
    
    Generally --hardcopy should produce new files, but the completion is still
    useful.
---
 completions/zsh/_feedgnuplot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/completions/zsh/_feedgnuplot b/completions/zsh/_feedgnuplot
index 1575c2d..5cdddda 100644
--- a/completions/zsh/_feedgnuplot
+++ b/completions/zsh/_feedgnuplot
@@ -36,7 +36,7 @@ _arguments -S
     '--image[Image file to render beneath the data]:image:_files -g "(#i)*.(jpg|jpeg|png|gif)"' \
     '--square[Plot data with square aspect ratio]'                                \
     '--square_xy[For 3D plots, set square aspect ratio for ONLY the x,y axes]'    \
-    '--hardcopy[Plot to a file]:new filename'                                         \
+    '--hardcopy[Plot to a file]:new image filename:_files -g "(#i)*.(jpg|jpeg|png|gif)"' \
     '--maxcurves[The maximum allowed number of curves]:number of curves'          \
     '(--3d)--monotonic[Resets plot if an X in the past is seen]'                  \
     '(--rangesizeall)--extraValuesPerPoint[How many extra values are given for each data range]:N'\

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/feedgnuplot.git



More information about the debian-science-commits mailing list