]> git.phdru.name Git - dotfiles.git/blobdiff - .shellrc
Add `bin/rucal`
[dotfiles.git] / .shellrc
index 944d2f631326f04f58168a1cefa5fbd13f56ae4c..78beaf7ad6991ee6e20a79304de731d21dc89dae 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -44,19 +44,13 @@ if test -n "$KSH_VERSION" -o -n "$FCEDIT"; then
     j() { jobs; }
 fi
 
-if test -n "$BASH_VERSION"; then
-    if [ -r "$HOME"/admin/prog/bash_prompt ]; then
-        . "$HOME"/admin/prog/bash_prompt
-        set_prompt
-        unset set_prompt
-    else
-        PS1="${debian_chroot:+($debian_chroot)}\u@\h:\W \$SHLVL\\$ "
-    fi
-fi
-
 # clear screen and history, logout
 chlo() { clear; cd; >$HISTFILE; unset HISTFILE; history -c; logout || exit; }
 
+if [ -n "$STY" -a "$WINDOW" != 0 ]; then
+    #unset MAILCHECK everywhere except for the 1st GNU screen window
+    unset MAILCHECK
+fi
 
 include() {
     cfg="$1"