-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tide tests assume that tide is installed in $__fish_config_dir #62
Comments
Just a thought. Fisher could pass the current path to Lines 1 to 14 in 1bcfe31
Or maybe use |
@jorgebucaran I used the What do you see as the pro's and con's of having |
Not 20 hours ago I thought of this myself, tried using I'd say if there's a reasonable way for plugins to deal with something themselves without spending too much code, it shouldn't be in Fisher. That's how I feel in this case. @vamega Thanks for opening this issue 😄 When I was working on this, I used |
Woops, What I'd actually like is replacing the Also, no need for two variables, just one called |
@IlanCosman I misreported this because I was thinking of an older Fisher where |
Describe the bug
Right now some code assumes that tide is installed under
$__fish_config_dir
.If installed via fisher it is possible that tide is actually under a different directory root, through the use of
$fisher_path
. See this fisher issue for more details.Steps to reproduce
Don't really know the best way to reproduce this, since I'm not familiar with how to run the tests. Should the tests be run without
Tide
installed, or is it okay to run them in a shell whereTide
is already running?~/config/.fish/conf.d/fisher.fish
_tide_sub_configure.fish
I don't the setup for the tests (Do you run the tests after you've installed tide, or separately?), but I think the test above should fail.
Expected behavior
The tests should not assume an installation path, but instead discover it's installation path, and identify paths under that root.
Environment (please complete the following information)
tide bug-report
:Additional context
I had a fork that was addressing some of these issues using a universal variable, but it seems like you've removed almost all instances of this assumption. This test case is the only one left, but it seems like you've mostly eliminated the issue with a different approach, so if you could fix this one last test I think you'll have completely removed the issue.
The text was updated successfully, but these errors were encountered: