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"
|
||||
}
|
||||
|
||||
sh_shell_interactive() {
|
||||
case "${-}" in
|
||||
*i*) ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
sh_source_directory() {
|
||||
local path="${1}"
|
||||
[ -d "${path}" ] ||
|
||||
|
|
Loading…
Reference in a new issue