Ver Fonte

Make less the default pager

Andrew Swistak há 11 anos atrás
pai
commit
eddd61c6d1
2 ficheiros alterados com 2 adições e 0 exclusões
  1. 1 0
      bashrc
  2. 1 0
      zshrc

+ 1 - 0
bashrc

@@ -79,6 +79,7 @@ dot_sync() {
   git ch $current_branch
 }
 
+export PAGER=less
 export DOTFILES=$HOME/Documents/dotfiles
 export PATH=$DOTFILES/bin:$PATH
 export PATH=$PATH:$HOME/.rvm/bin

+ 1 - 0
zshrc

@@ -53,6 +53,7 @@ if [ -x /usr/bin/ssh-agent -a -z "$SSH_AUTH_SOCK" ]; then
   eval "$(keychain --eval -Q -q --agents ssh  `find $HOME/.ssh/*  ! -name '*.pub' ! -name 'config' ! -name 'known_hosts'`)"
 fi
 
+export PAGER=less
 export DOTFILES=$HOME/Documents/dotfiles
 export PATH=$DOTFILES/bin:$PATH
 export PATH=$PATH:$HOME/.rvm/bin