comparison .bash_profile @ 16:b9896ae0733c

Stole pretty PS1 and xterm title changing from BackTrack 4. Also added a switch to the dotfile check so we can create a list of hosts for which we don't want to check against the server, just warn.
author huston@80426f53-59d1-405d-934b-f07cd76f4a1a
date Sat, 05 Sep 2009 20:18:20 +0000
parents fe83d9892ee3
children f65964738bab
comparison
equal deleted inserted replaced
15:fe83d9892ee3 16:b9896ae0733c
53 ;; 53 ;;
54 esac 54 esac
55 55
56 [[ ! -f $HOME/.dotfilets || \ 56 [[ ! -f $HOME/.dotfilets || \
57 `eval $DFSTAT` -lt `eval $MDATE` ]] && { 57 `eval $DFSTAT` -lt `eval $MDATE` ]] && {
58 echo Dotfiles last checked over a month ago, running a status test. 58 echo -n Dotfiles last checked over a month ago
59 svn st -u && touch $HOME/.dotfilets & 59
60 # Here we switch for hosts we don't want to check, just warn
61 case `hostname -s` in
62 bt)
63 echo
64 touch $HOME/.dotfilets
65 ;;
66 *)
67 echo , running a status test.
68 svn st -u && touch $HOME/.dotfilets &
69 esac
60 } 70 }
61 71
62 # Work in progress - toodledo to ~/.todo 72 # Work in progress - toodledo to ~/.todo
63 #[[ -f $HOME/.todo ]] && cat $HOME/.todo 73 #[[ -f $HOME/.todo ]] && cat $HOME/.todo
64 # 74 #