fix bash-it running on zh_CN locale
parent
2813930e04
commit
71d408fb03
|
|
@ -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 ()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue