diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Completion/Zsh/Function/_zcalc | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 0bc8b61b1..d7a2c0553 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-05-05 Peter Stephenson <p.stephenson@samsung.com> + + * 35033: Completion/Zsh/Function/_zcalc: trivial completion. + 2015-05-04 Oliver Kiddle <opk@zsh.org> * 35029: Src/Zle/zle_word.c, Test/X02zlevi.ztst: diff --git a/Completion/Zsh/Function/_zcalc b/Completion/Zsh/Function/_zcalc new file mode 100644 index 000000000..a4b1e9701 --- /dev/null +++ b/Completion/Zsh/Function/_zcalc @@ -0,0 +1,7 @@ +#compdef zcalc + +_arguments -s -w -S : \ + '-#[Specify default base]:base: ' \ + '-f[Force floating point for all expressions]' \ + '-e[Treat command line as expressions to be output immediately]' \ + '*:Expression: ' |