diff --git a/bin/zread b/bin/zread index f02d3ca..e4f0369 100755 --- a/bin/zread +++ b/bin/zread @@ -1,5 +1,5 @@ #!/bin/bash export dir=$(mktemp -p /dev/shm -d -t tmp.XXXXXXXXXX) ln -s /dev/stdout $dir/stdout.pdf -pandoc -o $dir/stdout.pdf $1 | zathura --fork ${@:2} - +pandoc -o $dir/stdout.pdf "$1" | zathura --fork ${@:2} - rm $dir -rf