rofi icon indicating copy to clipboard operation
rofi copied to clipboard

[rofi-sensible-terminal] Use /bin/sh instead of /usr/bin/env bash

Open jirutka opened this issue 4 years ago • 2 comments

This script is fully POSIX-sh compatible, i.e. it's portable and can be run in any shell, not just bash. It's incorrect to assume that bash is available on every *nix system (it's not), but /bin/sh is.

jirutka avatar Sep 26 '21 23:09 jirutka

The change to sh seems like a good idea, but isn't it better to make it /usr/bin/env sh?

metov avatar Oct 04 '21 02:10 metov

isn't it better to make it /usr/bin/env sh?

No, /bin/sh is de-facto standard supported by all *nix systems.

jirutka avatar Oct 04 '21 11:10 jirutka