Re: Is there some env variable like GIT_LANG (like LANG)?
- From
- Dirk Süsserott <newsletter@dirk.my1.cc>
- Date
- Mar 22, 2011, 19:30 UTC
- Message-ID
- <4D88F8EF.8020609@dirk.my1.cc>
- In-Reply-To
- <AANLkTi=wwFw09QkrttvxvuEoHyuQ+61wa0YMysDQC05D@mail.gmail.com>
Am 21.03.2011 21:48 schrieb Lasse Makholm:
Show 13 quoted lines
>>>
>>> Alternatively, you might like something like the following in your
>>> .bashrc:
>>>
>>> function git
>>> {
>>> LANG=C command git "$@"
>>> }
>>>
>
> Just make sure you include the "command" part or the function will
> call itself indefinitely...
>That would be like my favourite forkbomb: ":(){ :|:& };:"
WARNING: Don't type that in the shell! The system hangs
immediately, even if it looks like only smileys.Thanks a lot. It does exactly what I want. And it's a good trick for other applications as well.