From c784978aa038df7b3777a4c3ce3e6da6dc8cc6a1 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 12 Mar 2024 22:24:50 +0100 Subject: Added bash completion for ./Starshatter.exe --- contrib/completion/starshatter.bash | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 contrib/completion/starshatter.bash (limited to 'contrib') 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} -- cgit v1.1