From 99466586a58c094cb06eb9680217e336b2e5372d Mon Sep 17 00:00:00 2001 From: Marcus Whybrow Date: Thu, 31 May 2012 10:07:01 +0100 Subject: [PATCH] Added bash completion for server "gamemode" commands. --- bash_completion/msm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bash_completion/msm b/bash_completion/msm index be4ef4a..758f40e 100644 --- a/bash_completion/msm +++ b/bash_completion/msm @@ -216,6 +216,11 @@ _msm() { esac fi ;; + gamemode|gm) + if [[ $COMP_CWORD == 3 ]]; then + options="survival creative" + fi + ;; esac fi