Merge 71d408fb03 into 86eba5c436
commit
fe16fe85a7
|
|
@ -80,7 +80,7 @@ _is_function ()
|
|||
_about 'sets $? to true if parameter is the name of a function'
|
||||
_param '1: name of alleged function'
|
||||
_group 'lib'
|
||||
[ -n "$(type -a $1 2>/dev/null | grep 'is a function')" ]
|
||||
[ -n "$(type -a $1 2>/dev/null | egrep 'is a function')|是函数" ]
|
||||
}
|
||||
|
||||
_bash-it-aliases ()
|
||||
|
|
|
|||
Loading…
Reference in New Issue