phyver / GameShell

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

Posix wip #50

Closed phyver closed 3 years ago

phyver commented 3 years ago

@rlepigre I've tried removing as much Bash specific commands as possible from the missions. The aim would be to try running GameShell with zsh to see if that works.

There still are a couple of things I haven't done on GameShell's source, but for the missions, the only remaining Bash specific commands are in the check.sh / test.sh files that need to record "fake" commands in the history. (Those shouldn't even appear in a game archive.)

It seems to work on Debian (my machine), Ubuntu (github), macOS (github), freebsd (VM) and openbsd (VM). Some missions cannot be done on openbsd because of missing libraries (wordexp), but that's it.

Can you give it a test on your machine?

rlepigre commented 3 years ago

Seems to work fine, but I just did make tests and inspected the output carefully.

phyver commented 3 years ago

Everything seems to work. I'll probably merge that into the main branch tonight or tomorrow.

phyver commented 3 years ago

merged into devel 511e2486