Closed annagrram closed 9 years ago
You found a problem and made a fix that works (as long as you have bash installed). That's great. Thanks!
@av3r4ge thanks for the fix! I've tested it on Mac OS as well, it works fine.
My pleasure. Only thing remaining is for @Shurakai to test it with dash and give his sign of approval :smiley:
@Shurakai makes a good point in #22 that the variable substitution introduced lately isn't working on not bash-compatible shells. But, I don't really agree with the fix of changing sh to bash, because bash isn't available on every system by default (e.g. FreeBSD, OpenBSD, and maybe the rest of the BSDs).
This PR fixes the substitution by using sh capabilities only, and fixes another bug I've found when using vim with tcsh.
Checked on: