vaniacer / piu-piu-SH

This is an Old School horizontal scroller 'Shoot Them All' game in bash. With multiplayer modes team and duel. You have to defeat 100 aliens to fight with Boss. I'm using netcat for client-server exchange in multiplayer mode. So netcat have to be installed on system if you wish to play with friend. Terminals on both hosts have to be with equal dimensions.
MIT License
736 stars 36 forks source link

Better handling user custom bash version #17

Closed kamilko closed 6 years ago

kamilko commented 6 years ago

This is my proposal for better handling user custom bash. Example: I'm using macOS 10.11.6 where bash in /bin/bash is very old. Piu-Piu doesn't work with this. My regular bash is from Homebrew which is for legacy reason installed in /usr/local/bin/bash. So best way to give Piu-Piu current user version is just ask env which location of bash user using. This should work with Debian-like distros as well as latest Centos, but must be checked for Bash4Windows users (I don't have any) and probably for older Centos.

vaniacer commented 6 years ago

Cool, thank you.