diff options
author | Tom Willemse | 2014-04-13 20:57:57 +0200 |
---|---|---|
committer | Tom Willemse | 2014-04-13 20:57:57 +0200 |
commit | e1bce67894ce60f103467bf6d351c149ea09892b (patch) | |
tree | 12bef4e6631cf73d5c92b529397280621a94974e /.zshrc | |
parent | 4b8dc34b5d83c4cfd9b33f794147770aab0a4f73 (diff) | |
download | zsh-e1bce67894ce60f103467bf6d351c149ea09892b.tar.gz zsh-e1bce67894ce60f103467bf6d351c149ea09892b.zip |
Generalize less config
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -12,8 +12,8 @@ autoload -U $HOME/.zsh/functions/*(:t) HISTFILE=$HOME/.zsh/histfile HISTSIZE=1000 SAVEHIST=1000 -LESSCMD="/usr/bin/less -FXRS" +export LESS="iFXRS" export LESS_TERMCAP_mb=$'\e[1;37m' export LESS_TERMCAP_md=$'\e[1;37m' export LESS_TERMCAP_me=$'\e[0m' @@ -21,13 +21,12 @@ export LESS_TERMCAP_se=$'\e[0m' export LESS_TERMCAP_so=$'\e[1;47;30m' export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[0;36m' -export PAGER=$LESSCMD +export PAGER="less" # Aliases alias alpine="alpine -p ""{imap.gmail.com/ssl/user=tom.willemsen@archlinux.us}remote_pinerc""" alias evolus-pencil="/usr/lib/evolus-pencil-svn/evolus-pencil.sh" alias grep="grep --color=always" -alias less=$LESSCMD alias ls="ls -F --color=always" alias mysql="mysql --pager" alias sbcl="rlwrap sbcl" |