Updated viewmd function.

This commit is contained in:
Sheldon Lee 2021-09-24 10:55:20 +08:00
parent 888f1e2d5d
commit 05deaa029c

View File

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