2 ms·
This is the real minimal template. But it should be pwd -P at the end there or you introduce path resolving bugs. Or you could use cd -P, or cd -e -P to be extr
by 0xbadcafebee 6y ago
This is the real minimal template. But it should be pwd -P at the end there or you introduce path resolving bugs. Or you could use cd -P, or cd -e -P to be extra fail-safe (bashism).
I also tack on [ "${DEBUG:-0}" = "1" ] && set -x