mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 03:29:26 +00:00
@ -12,7 +12,7 @@ function is-autoloadable {
|
||||
|
||||
# Checks if a name is a command, function, or alias.
|
||||
function is-callable {
|
||||
(( $+commands[$1] )) || (( $+functions[$1] )) || (( $+aliases[$1] ))
|
||||
(( $+commands[$1] || $+functions[$1] || $+aliases[$1] || $+builtins[$1] ))
|
||||
}
|
||||
|
||||
# Checks a boolean variable for "true".
|
||||
|
Reference in New Issue
Block a user