shell/interactive
This commit is contained in:
parent
05271ef828
commit
eee9e38b7d
1 changed files with 7 additions and 0 deletions
|
@ -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}" ] ||
|
||||||
|
|
Loading…
Reference in a new issue