From dbdd1f536b1ad3e77ce456f345936a3391ddef8e Mon Sep 17 00:00:00 2001 From: Blake Luther Date: Fri, 15 Mar 2024 14:56:31 -0600 Subject: [PATCH] Update fish_prompt.fish Fix for #360 --- functions/fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish index e9ae47b..751a9c8 100644 --- a/functions/fish_prompt.fish +++ b/functions/fish_prompt.fish @@ -127,7 +127,7 @@ function __bobthefish_git_project_dir -S -a real_pwd -d 'Print the current git p # Support Git under WSL (see #336) command -q wslpath - and set git_toplevel (command wslpath $git_toplevel) + and set git_toplevel (command wslpath -w $git_toplevel) # If there are no symlinks, just use git toplevel switch $real_pwd/