]> git.pld-linux.org Git - packages/bash.git/blobdiff - bashrc
oops
[packages/bash.git] / bashrc
diff --git a/bashrc b/bashrc
index b5b776c6fef80850bca370bf4e6e0a0613ec2ad2..85fe46fd773be5833358727644fc133c5bc3bff9 100644 (file)
--- a/bashrc
+++ b/bashrc
@@ -5,7 +5,7 @@
 
 # We set PS1 for each terminal:
 case $TERM in
-       gnome|xterm*|rxvt)
+       gnome|nxterm|xterm*|rxvt)
                PS1="\[\033]0;\u@\h: \w\007\][\u@\h \W]\\$ "
                ;;
        *)
@@ -22,4 +22,4 @@ for i in `find /etc/shrc.d -name '*.sh'` ; do
 done
 unset i
 
-stty erase `tput kbs`
+[ "`LC_ALL= tty`" = "not a tty" ] || stty erase `tput kbs`
This page took 0.076605 seconds and 4 git commands to generate.