X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Fenv;h=2eced63afa66170440ccbd1b9ac8137331d62eb2;hb=0038a84db7d35d7fa5a9ebafb762bf5dfc7baf27;hp=81df0bd32facb7a00073eb2d5c03dc93dd7f8cb4;hpb=fc2cb4aabc4c922fd23f26eec94b582cb7197f14;p=config%2Fdotfiles.git diff --git a/zsh/env b/zsh/env index 81df0bd..2eced63 100644 --- a/zsh/env +++ b/zsh/env @@ -22,6 +22,12 @@ export LESS_TERMCAP_us=$'\e[04;1;33m' export LESS_TERMCAP_ue=$'\e[0m' +# Setup lesspipe to view multiple file-types (like .gz, .zip, etc.) with less. +# Useful in combination with the "p" alias. Taken from Debian's default bash +# files. Thanks. +[[ -x /usr/bin/lesspipe ]] && eval "$(SHELL=/bin/sh lesspipe)" + + source_config ~/.zsh/env.local source_debug ". ~/.zsh/env (done)"