From b4255521a17cde3e605fc9417ab237a9061a6bd9 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 25 Apr 2024 11:31:50 +0200 Subject: [PATCH] fix pdf command for wsl --- .config/fish/conf.d/abbr_wsl.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/fish/conf.d/abbr_wsl.fish b/.config/fish/conf.d/abbr_wsl.fish index 23080cd..4d81ce1 100644 --- a/.config/fish/conf.d/abbr_wsl.fish +++ b/.config/fish/conf.d/abbr_wsl.fish @@ -6,4 +6,4 @@ abbr rm "rm -rf" abbr catall "catall . '*.ext1' '*.ext2' | clip.exe" abbr ll "eza --git -gl" abbr la "eza --git -gla" -abbr pdf "'/mnt/c/Program Files/Mozilla Firefox/firefox.exe' *.pdf" +abbr pdf "'/mnt/c/Program Files/Mozilla Firefox/firefox.exe' (for f in *.pdf; echo "file:///"(wslpath -m .)/$f; end)"