Add zread command
This commit is contained in:
parent
c38df189ec
commit
ca3e047d3e
1 changed files with 5 additions and 0 deletions
5
bin/zread
Executable file
5
bin/zread
Executable file
|
@ -0,0 +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} -
|
||||
rm $dir -rf
|
Loading…
Reference in a new issue