On Sat, Jul 28, 2012 at 9:29 PM, Richard L. Hamilton <[email protected]>wrote:

> The usual way of communicating the desired locale, certainly for
> command-line programs, is by setting appropriate environment variables.
>  The lowest priority (overridden by any of the others where they conflict)
> is LANG, which applies to all categories of locale information not set with
> one of the other environment variables.  Then there are category-specific
> environment variables:
> LC_COLLATE collation sequence
> LC_CTYPE character classification
> LC_MESSAGES message text
> LD_MONETARY currency symbol and notation
> LC_NUMERIC preferred separator and decimal character
> LC_TIME preferred date and time formats
>

You could use aliases to automate this...

    $ alias git='env LC_ALL=C /opt/local/bin/git'

-- 
brandon s allbery                                      [email protected]
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to