]> git.donarmstrong.com Git - home-base.git/blobdiff - .bashrc
add more hosts to known hosts and words to my dictionary
[home-base.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index c2d1b0919936d91f5fdbc9cfc081b2641be3cc76..fc875dd4279c88c4aebd5c551d5e8e07b33c2085 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -33,13 +33,13 @@ if [ "$PS1" ]; then
     # \[\033[1;36m\][\w]\n\[\033[0;36m\][\h|\t]$ \[\033[0m\]
 
     # If this is an xterm set the title to user@host:dir
-    #case $TERM in
-    #xterm*)
-    #    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
-    #    ;;
-    #*)
-    #    ;;
-    #esac
+    case $TERM in
+       screen|xterm*)
+            PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
+            ;;
+       *)
+            ;;
+    esac
 
     # enable programmable completion features (you don't need to enable
     # this, if it's already enabled in /etc/bash.bashrc).
@@ -48,7 +48,12 @@ if [ "$PS1" ]; then
     fi;
     
     alias aumix2='aumix -d /dev/mixer1 -I'
-    export LANG="en_US.UTF-8"
+    if locale -a |grep -qi en_US.utf8; then
+       LANG="en_US.UTF-8"
+    else
+       LANG=C
+    fi;
+    export LANG
     export PATH="~/bin:$PATH"
     if [ ! -e ~/tmp ]; then
        mkdir ~/tmp;