Mercurial > index.cgi > dotfiles
diff .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 |
line wrap: on
line diff
--- a/.bash_profile Sun Aug 30 20:37:09 2009 +0000 +++ b/.bash_profile Sat Sep 05 20:18:20 2009 +0000 @@ -55,8 +55,18 @@ [[ ! -f $HOME/.dotfilets || \ `eval $DFSTAT` -lt `eval $MDATE` ]] && { - echo Dotfiles last checked over a month ago, running a status test. - svn st -u && touch $HOME/.dotfilets & + echo -n Dotfiles last checked over a month ago + + # Here we switch for hosts we don't want to check, just warn + case `hostname -s` in + bt) + echo + touch $HOME/.dotfilets + ;; + *) + echo , running a status test. + svn st -u && touch $HOME/.dotfilets & + esac } # Work in progress - toodledo to ~/.todo