projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
96f05d1
)
Changed so that if a user other than me runs bash_login it will do the
author
adefaria
<adefaria@adefaria-lt.audience.local>
Wed, 8 Oct 2014 20:25:30 +0000
(13:25 -0700)
committer
adefaria
<adefaria@adefaria-lt.audience.local>
Wed, 8 Oct 2014 20:25:30 +0000
(13:25 -0700)
right thing. I use this often when I sudo.
Now supports LANG UTF8.
rc/bash_login
patch
|
blob
|
history
diff --git
a/rc/bash_login
b/rc/bash_login
index
88d27e0
..
306e82f
100644
(file)
--- 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
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
if [ $(type -p vim) ]; then
alias vi=vim