From 16889f31ab67b615ca896934dd4dc9ed9c5732ee Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 29 Oct 2014 16:40:03 +0300 Subject: [PATCH] .bashrc: `less -R` works anywhere we have GNU coreutils' less If you have a Mac and you're not using coreutils... then ifdef this. Signed-off-by: Alan Orth --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index f121d53..fbe89d0 100644 --- a/.bashrc +++ b/.bashrc @@ -13,11 +13,11 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then . $(brew --prefix)/etc/bash_completion fi else - alias less='less -R' # preserves colors in `less` fi # Aliases alias ls='ls -F --color=auto' +alias less='less -R' # preserves colors in GNU coreutils' `less` # Environment PS1='[\u@\h: \w]\$ '