olistic / warriorjs

🏰 An exciting game of programming and Artificial Intelligence
https://warriorjs.com
MIT License
9.43k stars 490 forks source link

naming conflicts on ZSH #117

Closed antony closed 6 years ago

antony commented 6 years ago

In ZSH, shell interpretation causes warriorjs not to run after the initial profile is created.

Environment

System:

Steps to reproduce

  1. Run warriorjs for the first time.
  2. Edit Player.js as suggested
  3. Run warriorjs again

Expected Behavior

warriorjs runs a second time

Actual Behavior

zsh interprets warriorjs as cd warriorjs, as there is now a directory called warriorjs created by the CLI.

olistic commented 6 years ago

Hello @antony, this is a duplicate of #95 (related to the AUTO_CD option of zsh). Closing this, please comment there if you have any suggestion. Thanks!