exercism / interactive-cli-walkthrough

13 stars 26 forks source link

Bug: typo in mac instructions that may cause an error in `~/.bash_profile` #93

Closed ynfle closed 4 years ago

ynfle commented 4 years ago

https://github.com/exercism/interactive-cli-walkthrough/blob/cc94c76a8a12f822e78b65a76639cd1ee3049680/contents/mac/add_to_path.tw2#L13 should have single quotes, so it doesn't expand $PATH

The issue are:

  1. The $PATH variable may change and shouldn't be hardcoded in
  2. This user Had an issue where they had a directory in $PATH that had a space in it and bash couldn't properly read it because it wasn't escaped