Fix error in zread when filenames have spaces

This commit is contained in:
Talia 2020-01-13 14:11:15 +01:00
parent a1d6a58e2c
commit e9ab5dc9c4
1 changed files with 1 additions and 1 deletions

View File

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