1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-03 03:09:25 +00:00

[WIP] DO NOT USE

This commit is contained in:
Sorin Ionescu
2014-02-02 20:37:56 -05:00
parent 2ebdbdcff5
commit fb13aa3327
6 changed files with 7 additions and 6 deletions

View File

@ -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] ))
}
# Checks a boolean variable for "true".