aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-27 05:43:02 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-27 05:43:02 +0100
commitddf403990084e2bc2c3e9502b4051d162432ca90 (patch)
tree80e84cf3ea422e79b6eeff0f7f868d95eae92814 /src
parentadd makefile (diff)
downloadxpybar-ddf403990084e2bc2c3e9502b4051d162432ca90.tar.gz
xpybar-ddf403990084e2bc2c3e9502b4051d162432ca90.tar.bz2
xpybar-ddf403990084e2bc2c3e9502b4051d162432ca90.tar.xz
add shell tab-completion
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/xpybar.auto-completion17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/xpybar.auto-completion b/src/xpybar.auto-completion
new file mode 100644
index 0000000..677674d
--- /dev/null
+++ b/src/xpybar.auto-completion
@@ -0,0 +1,17 @@
+(xpybar
+ (argumented (options -c --configurations) (complete --configurations) (files -f) (arg FILE)
+ (desc 'Select configuration script'))
+
+ (unargumented (options -h -? --help) (complete --help)
+ (desc 'Print this help information'))
+
+ (unargumented (options -v --version) (complete --version)
+ (desc 'Print program name and version'))
+
+ (unargumented (options -C --copying --copyright) (complete --copying)
+ (desc 'Print copyright information'))
+
+ (unargumented (options -W --warranty) (complete --warranty)
+ (desc 'Print non-warranty information'))
+)
+