You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
I tried using tide with fish provided by MSYS2 on windows. when I tried activating a virtual environment created by poetry (python), everytime the prompt is shown some errors are also printed:
test: Missing argument at index 3
= virtualenvs
^
~/.config/fish/functions/_tide_item_virtual_env.fish (line 2):
test -n "$VIRTUAL_ENV" && split_virtual_env=(string split / "$VIRTUAL_ENV") if test $split_virtual_env[-2] = virtualenvs
^
in function '_tide_item_virtual_env'
called on line 15 of file ~/.config/fish/functions/_tide_2_line_prompt.fish
in function '_tide_2_line_prompt'
in command substitution
I am guessing this is because it is trying to split the VIRTUAL_ENV variable and is expecting the value to be a unix style path with / as a seperator, but since MSYS2/cygwin is on windows, The VIRTUAL_ENV contains a path seperated with \.
Describe the solution you'd like
I don't have a solution, Maybe os specific path seperators could be used?
Additional context
I am running a manual installation of tide without fisher following the instructions in the readme
OS: Windows 11 with MSYS2
fish version: 3.6.1
I am guessing the context I have given and the fix is limited, but I wanted to ask if there is anything else that does not allow this to run on cygwin/MSYS2?
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
I tried using tide with fish provided by MSYS2 on windows. when I tried activating a virtual environment created by poetry (python), everytime the prompt is shown some errors are also printed:
I am guessing this is because it is trying to split the
VIRTUAL_ENV
variable and is expecting the value to be a unix style path with/
as a seperator, but since MSYS2/cygwin is on windows, TheVIRTUAL_ENV
contains a path seperated with\
.Describe the solution you'd like
I don't have a solution, Maybe os specific path seperators could be used?
Additional context
I am running a manual installation of tide without fisher following the instructions in the readme
OS: Windows 11 with MSYS2
fish version: 3.6.1
I am guessing the context I have given and the fix is limited, but I wanted to ask if there is anything else that does not allow this to run on cygwin/MSYS2?
The text was updated successfully, but these errors were encountered: