From eac55933b6e72cbc8614c29080eb181ee37681a2 Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Thu, 31 Aug 2017 11:17:11 -0600 Subject: Update fancy-man.zsh --- base/.zsh/fancy-man.zsh | 39 ++++++++++++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 7 deletions(-) (limited to 'base/.zsh') diff --git a/base/.zsh/fancy-man.zsh b/base/.zsh/fancy-man.zsh index 416b99c..05843dc 100644 --- a/base/.zsh/fancy-man.zsh +++ b/base/.zsh/fancy-man.zsh @@ -1,7 +1,32 @@ -export LESS_TERMCAP_mb=$'\E[01;31m' -export LESS_TERMCAP_md=$'\E[01;34m' -export LESS_TERMCAP_me=$'\E[0m' -export LESS_TERMCAP_se=$'\E[0m' # end the info box -export LESS_TERMCAP_so=$'\E[1;34m' # begin the info box -export LESS_TERMCAP_ue=$'\E[0m' -export LESS_TERMCAP_us=$'\E[4;37m' +if [[ "$OSTYPE" = solaris* ]] +then + if [[ ! -x "$HOME/.bin/nroff" ]] + then + mkdir -p "$HOME/.bin" + cat > "$HOME/.bin/nroff" <