bashrc checks platform to decide proper 'edit' implementation