-
Notifications
You must be signed in to change notification settings - Fork 45
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
cached Z_DATA path not portable #104
Comments
I think you are referring to setting some universal variables, which get written to ~/.config/fish_variables, like this:
The code says it only sets those universal variables of https://github.com/jethrokuan/z/blob/master/conf.d/z.fish So the solution is set The document already recommends setting Z_DATA explicily: https://github.com/jethrokuan/z/blob/master/man/man1/z.md#configuration)https://github.com/jethrokuan/z/blob/master/man/man1/z.md#configuration |
Uhm... this means we should set Also, I can't see where the documentation "recommends" to set For reference, Fisher itself fixed this very issue here, so IMHO a similar approach could be considered. |
Here's my workaround for this: https://github.com/itsfarseen/dotfiles/blob/3df373b321e8f240eaba169611bfe9adab86c514/config/fish/conf.d/_z-make-portable.fish More context: |
I think this issue can be closed. Multiple comments have documented solutions that don't require modifying the code here. |
Sorry if this is not a z issue, but a fish thing. I am new to both.
In
z.fish
, it setsZ_DATA
and some other vars that include the $HOME directory. Unfortunately, $HOME is different for me on different machines, so I get errors whenZ_DATA
points to the data path of another machine.Any way to fix that? Is it a fish thing? Thanks!
The text was updated successfully, but these errors were encountered: