From 45f14fee923438a25e9015a18ace68dd3fa85532 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 9 May 2015 18:21:45 +0300 Subject: [PATCH] .zshrc: less is the same on Mac OS X and Linux Signed-off-by: Alan Orth --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 9e750ce..21dba8f 100644 --- a/.zshrc +++ b/.zshrc @@ -39,7 +39,6 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then alias chown='gchown' alias ln='gln' alias find='gfind' - alias less='gless -R' # preserves colors alias sed='gsed' # solarized dircolors (needs coreutils from pkgsrc) @@ -48,12 +47,13 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then elif [[ "$OSTYPE" =~ ^linux*$ ]]; then # aliases alias ls='ls -F --color=auto' - alias less='less -R' # preserves colors in GNU coreutils' `less` # solarized dircolors [[ -r ~/.dircolors.ansi-dark ]] && eval `dircolors ~/.dircolors.ansi-dark` fi +alias less='less -R' # preserves colors in GNU coreutils' `less` + # Environment export PS1='[%n@%m: %~]$ ' export EDITOR=vim