X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fbash_login;h=1084f41a5771c475849e0f88d135c79d578cd84a;hb=2decd39d9f1ecfefde60879cbc0d785b72c7def7;hp=88d27e0c77e13ea96f2be5d999873f36946e6fdb;hpb=22e56e08ed2c1b9685b711e160c35f4679eec4f9;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