Revision 13269
Added by Aaron Marcuse-Kubitza over 10 years ago
util.sh | ||
---|---|---|
313 | 313 |
|
314 | 314 |
#### commands |
315 | 315 |
|
316 |
type() { (unalias "$1"; self_builtin "$1") || return; } # alias already expanded |
|
317 |
|
|
316 | 318 |
is_callable() { type -t "$1" >/dev/null; } |
317 | 319 |
|
318 | 320 |
is_extern() { test "$(type -t "$1")" = file; } |
Also available in: Unified diff
lib/sh/util.sh: unalias(): use self_builtin, which is now defined before it