X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fbash_login;h=1084f41a5771c475849e0f88d135c79d578cd84a;hb=223e222826dc8ae51b55f6110e4ec47ff197b47f;hp=88d27e0c77e13ea96f2be5d999873f36946e6fdb;hpb=96f05d12c02652390dece461964b5bd399669655;p=clearscm.git diff --git a/rc/bash_login b/rc/bash_login index 88d27e0..1084f41 100644 --- a/rc/bash_login +++ b/rc/bash_login @@ -185,8 +185,12 @@ fi if [ -f "$SYSTEMDRIVE/Perl/bin/perl" ]; then alias asperl="$SYSTEMDRIVE/Perl64/bin/perl" fi - -export LANG=C + +if [ $(locale -a | grep -c en_US.utf8) != 0 ]; then + export LANG=en_US.utf8 +else + export LANG=C +fi if [ $(type -p vim) ]; then alias vi=vim @@ -260,6 +264,9 @@ if [ -d /opt/clearscm/lib ]; then export PERL5LIB="$PERL5LIB:/opt/clearscm/lib" fi +# Lessfile +eval $(lessfile) + # Client specific customizations for script in $(\ls ~/.rc/client_scripts); do # This is not working as long as ACLs are not supported from the remote