claytron / dotfiles

My *nix confs

This URL has Read+Write access

dotfiles / .commonprofile
100644 24 lines (19 sloc) 0.599 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
source $HOME/.commonfuncs
 
# run the fortune function....and...laugh
makeMeLaugh
 
# only update once a day, according to the weShouldUpdate function
# update the confs so they are in sync, but only if under
# subversion control and subversion is available
if checkPath svn && [ -d $HOME/.dotfiles/.svn ] && weShouldUpdate; then
    svn up $HOME/.dotfiles
fi
 
# set up my .gitconfig with variables I don't want public
# or can't be set properly (i'm looking at you excludesfile)
if checkPath git && [[ -a $HOME/.githack ]]; then
(
  while read line
  do
     eval $line
  done
) < $HOME/.githack
 
fi