dotfiles

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

10-pager.rc (266B)


      1 if(test "$TERM" = "dumb") {
      2 	PAGER=nobs
      3 }
      4 if(~ $#PAGER 0 && which less >/dev/null >[2=1]) {
      5 	PAGER=less
      6 	LESS='-FMRqX#10'
      7 	if(which lesspipe >/dev/null >[2=1]) {
      8 		eval `{lesspipe}
      9 	}
     10 	if not {
     11 		LESSOPEN='|$home/.lessfilter %s'
     12 	}
     13 }
     14 if(~ $#PAGER 0) {
     15 	PAGER=more
     16 }