X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Fenv;h=373a8498135b02f9d03fa4f9ad839b75e728f693;hb=8e49d06260954b937904d4807618db8dcd3ebef0;hp=6c02f4675bfc44400ae823d0676abdb024efa72d;hpb=072940bc627a03cf9ce6df251c8150b6926df2ef;p=config%2Fdotfiles.git diff --git a/zsh/env b/zsh/env index 6c02f46..373a849 100644 --- a/zsh/env +++ b/zsh/env @@ -28,7 +28,9 @@ export LESS_TERMCAP_se=$'\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)" +if [[ -x /usr/bin/lesspipe ]]; then + eval "$(SHELL=/bin/sh lesspipe)" || echo "Broken lesspipe!" >&2 +fi source_config ~/.zsh/env.local