From dd034797ec1dfe00f51b4dac39e9c7a57ca57d4f Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Fri, 31 Aug 2012 01:32:09 -0700 Subject: [PATCH] updated completions with the new options --- completions/bash/feedgnuplot | 4 ++++ completions/zsh/_feedgnuplot | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/completions/bash/feedgnuplot b/completions/bash/feedgnuplot index fa2be9d..7f86eb3 100644 --- a/completions/bash/feedgnuplot +++ b/completions/bash/feedgnuplot @@ -37,4 +37,8 @@ complete -W \ --dump \ --geometry \ --curvestyle \ + --histogram \ + --binwidth \ + --histstyle \ + --terminal \ --legend' feedgnuplot diff --git a/completions/zsh/_feedgnuplot b/completions/zsh/_feedgnuplot index b3a56ae..c84ca31 100644 --- a/completions/zsh/_feedgnuplot +++ b/completions/zsh/_feedgnuplot @@ -3,7 +3,7 @@ _arguments -S \ '()--domain[first element of each line is the domain variable]' \ '--dataid[each data point is preceded by the corresponding ID]' \ - '(--monotonic --xlen)--3d' \ + '(--monotonic --xlen --histogram)--3d' \ '--colormap[show a colormapped xy plot]' \ '--stream[Plot the data in realtime]::period in s:' \ '--lines' \ @@ -38,4 +38,8 @@ _arguments -S '--dump[Instead of printing to gnuplot, print to STDOUT]' \ '--geometry[The X11 geometry string]:geometry string:' \ '*--curvestyle[Additional styles for a curve]:curve id: :style:' \ + '(--3d)*--histogram:plot to treat as a histogram:' \ + '--binwidth:Histogram bin width:' \ + '--histstyle:Style of histogram:(frequency unique cumulative cnormal)' \ + '--terminal:Terminal options to set with "set terminal":' \ '*--legend[Legend for a curve]:curve id: :legend:'