]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Fix stowed zathura invocation
authorSergey Matveev <stargrave@stargrave.org>
Thu, 19 Nov 2020 11:24:10 +0000 (14:24 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 19 Nov 2020 11:24:10 +0000 (14:24 +0300)
bin/bin/zat

index 610d2bbbd8161146c02a8a0881399df1839b0c61..bc08ec751df1a0ddc5344c3f76c9e000e9e5e047 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/sh
 
 #!/bin/sh
 
+export PATH=$HOME/local/bin:$PATH
+export XDG_DATA_DIRS=$HOME/local
+export LD_LIBRARY_PATH=$HOME/local/lib:$LD_LIBRARY_PATH
 winid=`start-tabbed.sh zathura -c`
 winid=`start-tabbed.sh zathura -c`
-XDG_DATA_DIRS=$HOME/zathura bin.zathura -e $winid $@
+bin.zathura -e $winid $@
 rm -f zathura.core
 rm -f zathura.core