From 421b8d0b77b7d6266ad76519bd819df80098c7bc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 11 Oct 2014 22:22:22 +0200 Subject: add autocompletion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/completion | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/completion (limited to 'src') diff --git a/src/completion b/src/completion new file mode 100644 index 0000000..7c16f8a --- /dev/null +++ b/src/completion @@ -0,0 +1,20 @@ +(auto-auto-complete + (default (arg SHELL_OR_DEFINITION) + (files -f) + (suggest default) + (desc 'Specify a shell or variable definition')) + + (argumented (options -s -f --source --file) + (complete --source) + (arg SOURCE_FILE) + (files -f) + (desc 'Specify the input auto-auto-complete script')) + (argumented (options -o --output) + (complete --output) + (arg OUTPUT_FILE) + (files -f) + (desc 'Specify the output shell auto-completion script')) + + (suggestion default (verbatim bash zsh fish VARIABLE=VALUE)) +) + -- cgit v1.2.3-70-g09d2