dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

profile (295B)


      1 #
      2 # $home/lib/profile
      3 #
      4 
      5 if(which my-init >/dev/null >[2=1] && test ! -f $home/._.djmoch) {
      6 	my-init
      7 }
      8 
      9 for(file in $home/etc/profile.d/*.rc) {
     10 	if(test -r $file) {
     11 		. $file
     12 	}
     13 }
     14 
     15 for(file in $HOME/lib/functions.rc.d/*.rc) {
     16 	if(test -r $file) {
     17 		. $file
     18 	}
     19 }
     20 
     21 if(~ $#DISPLAY 0) {
     22 	my login
     23 }