Permalink
Browse files

Use new is-mac-terminal function to decide on colour use.

  • Loading branch information...
1 parent 6f4a942 commit 88c687a017344862b2c8c9ad30cde6d07b4521d9 @mattfoster committed Nov 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 06_less
View
@@ -1,6 +1,6 @@
# Setup some pretty colours for less.
# Unless we're using a terminal where everything just blinks.
-autoload is-mac-terminal
+autoload -U is-mac-terminal
if ! is-mac-terminal; then
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking

0 comments on commit 88c687a

Please sign in to comment.