diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2016-11-02 21:01:08 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-11-02 22:53:12 +0700 |
commit | aba79c277e03a3a2df8765b46eab6bba4741eeb6 (patch) | |
tree | f4555108c4291fe3c2197e6dc3174ecaf00fdd75 /office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion | |
parent | ae7f55c495c868b4f85266fb1026e9fedd00749b (diff) | |
download | slackbuilds-aba79c277e03a3a2df8765b46eab6bba4741eeb6.tar.gz |
office/multivalent-tool-pdf: Added (PDF tools).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion')
-rw-r--r-- | office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion b/office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion new file mode 100644 index 0000000000..3667134e1c --- /dev/null +++ b/office/multivalent-tool-pdf/multivalent-tool-pdf.bash_completion @@ -0,0 +1,17 @@ +_multivalent-tool-pdf() +{ + local cur prev opts + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + opts="Compress Convert Decrypt Diff Embed Encrypt Extract Impose Info Markup Merge Repair Split Stamp Uncompact Uncompress Undo Validate" + + if [[ $prev == "multivalent-tool-pdf" ]] ; then + COMPREPLY=( $(compgen -W "$opts" -- $cur) ) + return 0 + else + COMPREPLY=( $(compgen -f $cur) ) + return 0 + fi +} +complete -F _multivalent-tool-pdf multivalent-tool-pdf |