Fix is_cmd
This commit is contained in:
parent
a4efa9b733
commit
71542eef9a
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ BASE_0=${BASE_0:-$0}
|
|||
BASE_SHELL=$(basename "$SHELL")
|
||||
|
||||
is_cmd() {
|
||||
type -p -- "${@}" 2> /dev/null 1> /dev/null
|
||||
type -p -- "${@}" 2> /dev/null 1> /dev/null
|
||||
}
|
||||
|
||||
if is_sourced; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue