From 07a109b09ad2b819075137483d48d3b5023b79a7 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Wed, 11 Oct 2017 18:42:17 -0700 Subject: [PATCH] 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'\