Updated viewmd function.

This commit is contained in:
Sheldon Lee 2021-09-22 16:33:43 +08:00
parent 21b560621a
commit f37f288c84

View File

@ -78,6 +78,6 @@ viewmd()
{
[ -z $1 ] && return
[ ! -f $1 ] && return
pandoc -t pdf $1 | zathura - 2>&1 /dev/null & disown
pandoc -t pdf $1 | zathura -
}