From 0aae02e029af04cfb4a5adcd056f0a20d34283f5 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Tue, 22 Apr 2025 13:30:13 -0400 Subject: [PATCH] AutoYADM commit: 2025-04-22 13:30:13 --- .config/helix/scripts/typst-zathura.fish | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.config/helix/scripts/typst-zathura.fish b/.config/helix/scripts/typst-zathura.fish index 6fff70e0..2730e841 100755 --- a/.config/helix/scripts/typst-zathura.fish +++ b/.config/helix/scripts/typst-zathura.fish @@ -1,4 +1,12 @@ #!/usr/bin/env fish set -l src (path resolve $argv[1]) -set -l targ (string replace --filter '.typ' '.pdf') +# echo $src +# string replace +set -l targ (string replace --filter '.typ' '.pdf' $src) +if test -f "$targ" + + echo $targ +else + echo no file +end