From 15c29475d24f8dee4c4829c353c1c80badeca220 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 1 Jan 2024 18:38:20 +0100 Subject: [PATCH] simplify wpwd --- .config/fish/conf.d/alias_wsl.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/fish/conf.d/alias_wsl.fish b/.config/fish/conf.d/alias_wsl.fish index 28041cd..bf2ceac 100644 --- a/.config/fish/conf.d/alias_wsl.fish +++ b/.config/fish/conf.d/alias_wsl.fish @@ -1,2 +1,2 @@ alias pwd "pwd | tee /dev/tty | clip.exe" -alias wpwd "echo \"\\\\\wsl.localhost\\Arch\$(command pwd | tr / \\\\ 2> /dev/null)\" | tee /dev/tty | clip.exe" +alias wpwd "wslpath -w . | tee /dev/tty | clip.exe"