Closed robisonboxedup closed 2 years ago
Relying on $(ps | grep $$) to figure out which shell is being used breaks on mac. If $SHELL variable is set, we should believe it. We can fallback to the ps|grep if that is not the case.
$(ps | grep $$)
This PR fixes issues #40
Relying on
$(ps | grep $$)
to figure out which shell is being used breaks on mac. If $SHELL variable is set, we should believe it. We can fallback to the ps|grep if that is not the case.