add the functions needed for some keybindings
[zsh.git] / .zsh / functions / is-callable
1 (( $+1 )) || {
2 warn 'is-callable: not enough arguments'
3 return 1
4 }
5
6 (( $+builtins[$1] )) || (( $+functions[$1] )) || (( $+aliases[$1] )) || (( $+commands[$1] ))
7
8 # vim: ft=zsh sts=2 ts=2 sw=2 et fdm=marker fmr={{{,}}}