Closed akrherz closed 2 years ago
Any bash/csh experts out there? Please review this PR and chime in with your opinions!
@akrherz FYI I also opened #80 to isolate this topic from the rest of #57
I know in bash it can be notoriously tricky to handle all the edge cases, but off hand I don't see why the cd --
and && pwd
parts are needed. In other words, why isn't dirname
good enough? But I am no bash expert.
Yeah @sgdecker, that's a fair question and perhaps I am over-engineering here. I am worried about symlinks being used, but perhaps that is not justified.
@akrherz For the record, I dumped the Gemenviron.profile file from this branch into ShellCheck, and it found plenty to complain about it, but the specific line in question here was fine. It's probably OK either way.
@sgdecker Thanks, I did not know about shellcheck! I'll take this PR in a few days unless anybody objects!
see #57