aboutsummaryrefslogtreecommitdiff
path: root/distro/netbsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'distro/netbsd.sh')
-rwxr-xr-xdistro/netbsd.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/distro/netbsd.sh b/distro/netbsd.sh
index e9c3d57..28b46c2 100755
--- a/distro/netbsd.sh
+++ b/distro/netbsd.sh
@@ -55,6 +55,23 @@ for pkg in dwm st dmenu ; do
done
+if ! [ -e ~/.profile.lang ] ; then
+cat > ~/.profile.lang <<EOF
+export LANG="en_US.UTF-8"
+export LC_CTYPE="en_US.UTF-8"
+export LC_COLLATE="C"
+export LC_TIME="en_US.UTF-8"
+export LC_NUMERIC="en_US.UTF-8"
+export LC_MONETARY="en_US.UTF-8"
+export LC_MESSAGES="en_US.UTF-8"
+export LC_ALL=""
+EOF
+fi
+
+if ! grep -q '^. ~/.profile.lang' ~/.kshrc.local ; then
+ echo '. ~/.profile.lang' >> ~/.profile
+fi
+
# Probably better ways of doing this...
if ! grep -q '^export LD_LIBR' ~/.kshrc.local ; then
cat >> ~/.kshrc.local <<EOF