Skip to content
Browse files

A little fix for less clearing the screen.

  • Loading branch information...
1 parent e1d85d7 commit 6ca95342a2df228df4cd1109b77fb11de1746ef5 @cowboy committed Jun 19, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 source/
3 source/
@@ -7,6 +7,9 @@ shopt -s checkwinsize
export GREP_OPTIONS='--color=auto'
+# Prevent less from clearing the screen while still showing colors.
+export LESS=-XR
# Set the terminal's title bar.
function titlebar() {
echo -n $'\e]0;'"$*"$'\a'

0 comments on commit 6ca9534

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