From b216b460d486ee95d30f6f6df97d9faa440fcb7f Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 21 Oct 2019 13:24:31 +0200 Subject: [PATCH] Fix PDF_VIEWER test --- zshenv | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/zshenv b/zshenv index 4dd61cd..d6c99e8 100644 --- a/zshenv +++ b/zshenv @@ -59,11 +59,9 @@ export DIRSTACKSIZE # Default PDF viewer if [ $(command -v zathura) ]; then - PDF_VIEWER="zathura" -else - if [ $(command -v evince) ]; then - PDF_VIEWER="evince" - else + export PDF_VIEWER="zathura" +elif [ $(command -v evince) ]; then + export PDF_VIEWER="evince" fi # Permissions rw-r--r-- pour les fichiers crées