phyver / GameShell

a game to learn (or teach) how to use standard commands in a Unix shell
GNU General Public License v3.0
2.17k stars 138 forks source link

`gsh exit` is not exiting #56

Closed duthils closed 3 years ago

duthils commented 3 years ago

Scenario

Given I start the game and start mission 1 When I type gsh exit Then I see the prompt [mission 1] $

Expected: Then the game exits

Note: CTRL-D exits the game correctly.

Here is the list of the commands entered:

bash gameshell.sh
[mission 1] $ gsh exit
[mission 1] $

Environment

phyver commented 3 years ago

Thanks! That was fixed on the zsh branch, but for now, c569cd0f should fix it.