-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
enhancd is not working in zinit with msys2 #117
Comments
I’m not using zinit and not familiar with it. So, I cannot answer it correctly. However, what you say as the workaround looks not a workaround for me. I think it seems correct way.
If you change your original settings to above one, do you have any troubles? |
Well, it's more of an MSYS2 environment-dependent issue. Here's what I mean: Do not use The following are likely to be unrelated to this repository In tag v2.2.4, These setting is works fine.
No files for
No, it works fine for now for now.
Folder structure after installation with this setting
Originaly... I should write lazy loading settings( But, Lazy Load setting cause sample) compinit:503: no such file or directory: /home/{username}/.zinit/completions/_enhancd_cd_after.fish
compinit:503: no such file or directory: /home/{username}/.zinit/completions/_enhancd_cd_before.fish
compinit:shift:505: shift count must be <= $# |
Was self resolved. zinit is compiled before init.sh is executed. There is a way to delay compilation, so I will share it.
p.s. But after all, I don't want the starting file of the plugin to be a symbolic link. |
the terminal show:
How can I fix it, please? There is a temporary workaround: in
However, the *.fish is useless for zsh. |
Run |
What did you expect to happen?
b4b4r07/enhanced installs successfully with zinit & Zsh & MSYS2.
And, My comfortable CLI life starts!
What actually happened?
But it didn't...
Installation was successful but not working.
Output
/home/{username}/.zinit/plugins/b4b4r07---enhancd/enhancd.plugin.zsh:1: command not found: init.sh
Additional context
i think this is due to msys2's handling of symbolic links.
zinit autoloads
enhancd.plugin.zsh
(like antigen),But zinit doesn't seem to find
init.sh
.I think, msys2 is a somewhat major environment in Windows.
Please stop using
enhancd.plugin.zsh
as symbolic links.Detour)msys2 + zsh + zinit + enhancd
work it. But, unnecessary (may be),
_enhancd_xxxxx.fish
files are added to zinit completion.if these files not exists, compinit output errors in console.
※This is not the subject, as it may be due to zinit.
The text was updated successfully, but these errors were encountered: