summaryrefslogtreecommitdiffhomepage
path: root/contrib/completion/starshatter.bash
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/completion/starshatter.bash')
-rw-r--r--contrib/completion/starshatter.bash10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/completion/starshatter.bash b/contrib/completion/starshatter.bash
new file mode 100644
index 0000000..f3f8e0b
--- /dev/null
+++ b/contrib/completion/starshatter.bash
@@ -0,0 +1,10 @@
+# Starshatter completion
+# for use with bash-completions
+
+_starshatter()
+{
+ local cur prev words cword
+ _init_completion || return
+ COMPREPLY=($(compgen -W '-nosplash -window -test -fps -dump -lan -d3d -server -dbg -filesys' -- "$cur"))
+} &&
+ complete -F _starshatter {,./}Starshatter{,.exe}