Skip to content
Browse files

Better ack behaviour with less.

  • Loading branch information...
1 parent 67c4791 commit 1d80fd4a9f7d6e86786c0d4c10db03c45ae91d12 @zsiciarz committed Feb 13, 2013
Showing with 4 additions and 0 deletions.
  1. +1 −0 ackrc
  2. +3 −0 zshrc
View
1 ackrc
@@ -1,2 +1,3 @@
+--pager=less
--ignore-dir=htmlcov
View
3 zshrc
@@ -36,6 +36,9 @@ source $ZSH/oh-my-zsh.sh
# 256 colors in terminal to make Solarized look better in Vim
export TERM=xterm-256color
+# preserve color output with less
+export LESS=-RFX
+
# Customize to your needs...
export PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/zbyszek/.cabal/bin

0 comments on commit 1d80fd4

Please sign in to comment.
Something went wrong with that request. Please try again.