aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/lua.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/lua.fish')
-rw-r--r--share/completions/lua.fish8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/completions/lua.fish b/share/completions/lua.fish
new file mode 100644
index 00000000..21c8d1e0
--- /dev/null
+++ b/share/completions/lua.fish
@@ -0,0 +1,8 @@
+
+complete -c lua -s e -d 'Execute string' -x
+complete -c lua -s l -d 'Require library' -xa "( find /usr/lib/lua/ -name \*.so -printf '%f\n' | sed 's/.so//' )"
+complete -c lua -s i -d 'Enter interactive mode after executing script'
+complete -c lua -s v -d 'Show version'
+complete -c lua -s h -l help -d 'Print help and exit'
+complete -c lua -a "(__fish_complete_suffix .lua)"
+complete -c lua -a '-' -d 'Execute stdin and stop handling options'