mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Temporarily remove wslpath to fix broken git prompt under WSL
This commit is contained in:
parent
ec41294492
commit
83bf89d10c
@ -125,9 +125,9 @@ function __bobthefish_git_project_dir -S -a real_pwd -d 'Print the current git p
|
||||
[ -z "$git_toplevel" ]
|
||||
and return
|
||||
|
||||
# Support Git under WSL (see #336)
|
||||
command -q wslpath
|
||||
and set git_toplevel (command wslpath $git_toplevel)
|
||||
## Support Git under WSL (see #336)
|
||||
# command -q wslpath
|
||||
# and set git_toplevel (command wslpath $git_toplevel)
|
||||
|
||||
# If there are no symlinks, just use git toplevel
|
||||
switch $real_pwd/
|
||||
|
Loading…
Reference in New Issue
Block a user