aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-02 20:57:43 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-02 20:57:43 +0100
commite98dcc3416b2cc3109a7b1fbcb4832f090d0f056 (patch)
treefe79afabb7ba63c14e024501740652de8c747380
parentadd man page (diff)
downloadlibrarian-e98dcc3416b2cc3109a7b1fbcb4832f090d0f056.tar.gz
librarian-e98dcc3416b2cc3109a7b1fbcb4832f090d0f056.tar.bz2
librarian-e98dcc3416b2cc3109a7b1fbcb4832f090d0f056.tar.xz
add shell tab-completion
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/librarian.auto-completion14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/librarian.auto-completion b/src/librarian.auto-completion
new file mode 100644
index 0000000..3393d63
--- /dev/null
+++ b/src/librarian.auto-completion
@@ -0,0 +1,14 @@
+(librarian
+ (unargumented (options -d) (complete -d)
+ (desc 'Add output for dependencies too')
+ )
+
+ (unargumented (options -l) (complete -l)
+ (desc 'Print the location of files')
+ )
+
+ (unargumented (options -o) (complete -o)
+ (desc 'Prefer older versions of libraries')
+ )
+)
+