[feedgnuplot] 05/10: zsh completions: --image suggests files, --hardcopy does NOT suggest files
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 b59137c255dbebfd41f34366410d342f08d391aa
Author: Dima Kogan <dima at secretsauce.net>
Date: Sat Sep 30 23:16:41 2017 -0700
zsh completions: --image suggests files, --hardcopy does NOT suggest files
--image reads existing files, so it should ask for existing files
--hardcopy creates new files, so it shouldn't suggest existing files
---
completions/zsh/_feedgnuplot | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/completions/zsh/_feedgnuplot b/completions/zsh/_feedgnuplot
index 49d5e22..1575c2d 100644
--- a/completions/zsh/_feedgnuplot
+++ b/completions/zsh/_feedgnuplot
@@ -33,10 +33,10 @@ _arguments -S
'*--set[Additional 'set' gnuplot commands]:set-option' \
'*--unset[Additional 'unset' gnuplot commands]:unset-option' \
'*--equation[Raw symbolic equation]:equation' \
- '--image[Image file to render beneath the data]:image filename:_files' \
+ '--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]:plot output filename:_files' \
+ '--hardcopy[Plot to a file]:new filename' \
'--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