From 196235399b337a949b0448e1155f9ef055da3112 Mon Sep 17 00:00:00 2001 From: Starfall Date: Wed, 6 Oct 2021 21:01:40 -0500 Subject: zsh: use long form of less -R option and put it in .zshenv instead --- .config/zsh/.zshenv | 1 + .config/zsh/.zshrc | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to '.config') diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index d002695..dd98e05 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -1,5 +1,6 @@ export EDITOR='vim' export PAGER='less' +export LESS='--RAW-CONTROL-CHARS' if [[ $INTELLIJ -eq 1 ]]; then export PATH=/usr/local/bin:/usr/bin:$PATH diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 1f2baac..b776899 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -15,7 +15,6 @@ setopt interactive_comments # colors in various core utils alias diff='diff --color' -export LESS='-R' grep_opts="--color=auto --exclude-dir=.git" alias grep="grep $grep_opts" -- cgit