fix bash-it running on zh_CN locale

pull/180/head
lw 2012-12-21 17:31:24 +08:00
parent 2813930e04
commit 71d408fb03
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ _is_function ()
_about 'sets $? to true if parameter is the name of a function' _about 'sets $? to true if parameter is the name of a function'
_param '1: name of alleged function' _param '1: name of alleged function'
_group 'lib' _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 () _bash-it-aliases ()