From eb804cb78832fc256eaafeccd26d47a3b7cfdf03 Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Wed, 3 Jan 2018 17:26:44 -0800 Subject: [PATCH] zsh updates fro go, less, and man --- .zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 71ce35e..2be15a5 100644 --- a/.zshrc +++ b/.zshrc @@ -8,7 +8,7 @@ then else fi -export PATH=$PATH:/opt/cc0/bin:~/bin:/opt/android-studio/bin:/opt/smlnj/bin +export PATH=$PATH:/opt/cc0/bin:~/bin:/opt/android-studio/bin:/opt/smlnj/bin:~/go/bin export EDITOR=vim export CLICOLOR=1 @@ -17,6 +17,7 @@ export MAIL=/var/spool/mail/amgutier export LSCOLORS=DxGxcxdxCxegedabagacad export TERM=xterm-256color #256 color support export LESSOPEN='|/usr/local/bin/lesspipe.sh %s' +export LESS_ADVANCED_PREPROCESSOR=1 setopt PROMPT_SUBST ; # for git-prompt @@ -73,6 +74,9 @@ compinit setopt completeinword zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' +# Variables for man page viewing +export HTMLPAGER=w3m + # End of lines added by compinstall # Lines configured by zsh-newuser-install HISTFILE=~/.histfile