summaryrefslogtreecommitdiffstats
path: root/test/fixtures/_command_offset/completer
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/_command_offset/completer')
-rwxr-xr-xtest/fixtures/_command_offset/completer30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/fixtures/_command_offset/completer b/test/fixtures/_command_offset/completer
new file mode 100755
index 0000000..8253e6d
--- /dev/null
+++ b/test/fixtures/_command_offset/completer
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+case "${2-}" in
+ b|ba|bar)
+ echo bar
+ ;;
+ cont1*)
+ echo cont10
+ echo cont11\\
+ ;;
+ f|fo|foo)
+ echo foo
+ ;;
+ l)
+ echo line\\
+ echo two
+ echo long
+ ;;
+ li*)
+ echo line\\
+ echo two
+ ;;
+ lo*)
+ echo long
+ ;;
+ *)
+ echo bar
+ echo foo
+ ;;
+esac