summaryrefslogtreecommitdiff
path: root/.zsh/zshenv/20_pager
blob: fba51dfb6a969e9e7fcb719823024f2a0be90fc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# zshenv/20_pager
#
# set pager variables
#
# Copyright © 2010 Tobias Klauser <tklauser@distanz.ch>
# Released under the terms of the Artistic Licence 2.0
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git

export PAGER='less'

# to view some binary files in less
export LESSOPEN="| /usr/bin/lesspipe %s"
is_darwin && export LESSOPEN='| /opt/local/bin/lesspipe.sh %s'

# vim:ft=zsh