revans/bash-it — pull request #374 by ben-efiz (2014-12-03 11:49:15+00:00)
Title: Fixed #157: Made 'type' command using default LANG (not system LANG) to ...

Made 'type' command using default LANG (not system LANG) to check if function or alias.

Calling 'type -a' delivers localized text which then is used for grep, e.g. "... is a function"

Two changes are provided:

1) Use type's default language by setting LANG=C
2) Use paramter t which just delivers function, alias, etc. which makes it more clear what to grep for.

See http://linuxcommand.org/lc3_man_pages/typeh.html