Permalink
Browse files

Make sure 'less' repaints screen. Fixes escape codes from being shown…

… in Rails console
  • Loading branch information...
anveo committed Jan 20, 2011
1 parent 6115ee9 commit db1f89cd9b8e50525bca3901bcf7f121cab41ce8
Showing with 5 additions and 0 deletions.
  1. +5 −0 bash/env
View
@@ -1,5 +1,10 @@
export EDITOR="vim"
+# If output gets paged, repaint the screen.
+# This solved color codes from being displayed
+# in the rails console
+export LESS="-R"
+
if [ `uname` == 'Darwin' ]; then
# We need gui support for plugins
export EDITOR="mvim -v"

0 comments on commit db1f89c

Please sign in to comment.