Fix PDF_VIEWER test

This commit is contained in:
gardouille 2019-10-21 13:24:31 +02:00
parent 7337caf47f
commit b216b460d4
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 3 additions and 5 deletions

8
zshenv
View File

@ -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