dev-shell is a bash script, not sh

'type -p' does not work in e.g. dash