diff --git a/bin/zread b/bin/zread index de62666..f02d3ca 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 ${@:2} - +pandoc -o $dir/stdout.pdf $1 | zathura --fork ${@:2} - rm $dir -rf