shell/interactive

This commit is contained in:
Marc Beninca 2024-11-29 11:55:03 +01:00
parent 05271ef828
commit eee9e38b7d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -74,6 +74,13 @@ sh_help() {
"u__… = user" "u__… = user"
} }
sh_shell_interactive() {
case "${-}" in
*i*) ;;
*) return 1 ;;
esac
}
sh_source_directory() { sh_source_directory() {
local path="${1}" local path="${1}"
[ -d "${path}" ] || [ -d "${path}" ] ||