From 87e48f4427da2ab506ce07cff95a17235525f087 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 Apr 2017 13:25:36 +0200 Subject: misc changes Signed-off-by: Florian Pritz --- .zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index cb70456..7917fbe 100644 --- a/.zshrc +++ b/.zshrc @@ -203,8 +203,9 @@ export VISUAL=$EDITOR export PAGER=less if type vimpager &>/dev/null; then export MANPAGER=vimpager - export PERLDOC_PAGER=vimpager fi +export PERLDOC_PAGER=less +export PERLDOC="-MPod::Text::Color::Delight" export LESSCHARSET="UTF-8" export LESSOPEN='|/usr/bin/lesspipe.sh %s 2>&-' export LESS='-i -n -w -M -R -P%t?f%f \ @@ -239,12 +240,12 @@ prompt_eof_setup() { prompt_eof_setup "$@" # }}} -# Prompt {{{ +# Prompt {{{ # necessary if you want to use functions in the prompt # without this they wouldn't be run again #precmd () { -# this has to be on the edge or you have some spaces in the prompt +# this has to be on the edge or you have some spaces in the prompt # if you have any workaround please tell if [[ $UID != 0 ]]; then local username_color=$p_blue -- cgit v1.2.3-24-g4f1b