edc / bass

Make Bash utilities usable in Fish shell
MIT License
2.2k stars 70 forks source link

Escape '$' in variable values #68

Closed shouya closed 5 years ago

shouya commented 5 years ago

I'm trying to load a shell prompt config shared between fish and zsh using bass source. However, some variables contain a '$' in their values, making fish failed to load the generated script due to a lack of proper escaping on '$' character by bass.

This PR adds escaping on '$' characters in these locations:

edc commented 5 years ago

Thanks for fixing this!