#!/bin/sh

history -r $HOME/.bash_history # read prior bash history

while true
do
   read -ep "Enter arguments for TankStepped (q = quit):" line
   history -s " $line" # save in history
   if [ "$line" = "q" ]
   then
      history -w $HOME/.bash_history # write bash history
      exit 0
   else
      java -jar ./TankStepped.jar $line
   fi
done
