From ae181ca7286770fd3ab1cee40db7ba5cebe9991b Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Wed, 4 Dec 2019 10:43:02 +0100 Subject: [PATCH] Fix lesspipe config. --- zsh/.config/zsh/.zshrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index bce3964..d0f3e81 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -185,3 +185,12 @@ SAVEHIST=$HISTSIZE setopt autocd # Automatically cd to dirs typed setopt notify + +###################################### +# Application-specific configuration # +###################################### + +# Make less understand more file types +if (( $+commands[lesspipe] )); then + eval "$(lesspipe)" +fi