Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh: failed to load module `zsh/zle': No such file or directory



On Wed, 2019-04-24 at 23:19 -0400, kamaraju kusumanchi wrote:
> I am trying to install zsh into a non standard directory in "git for
> windows" on a machine running windows 10 but running into problems.
> When launching zsh, I am getting
> 
> zsh: failed to load module `zsh/zle': No such file or directory
> 
> Is there a way to fix this? FWIW I am using "git for windows"
> 2.21.0.windows.1 . 

Presumably you have a pre-compiled version of zsh?  The variable that
determines where shared libraries are found is MODULE_PATH
(colon-separated) or module_path (array).  You need to set
this to include the location where zsh/zle.so was installed.  For
example it's probably got a value like /usr/local/lib/zsh/5.7.1 and
in that case the shell looks for /usr/local/lib/zsh/5.7.1/zsh/zle.so.

It should be OK to set that in ~/.zshenv --- assuming the shell knows
where your home directory is.

pws



Messages sorted by: Reverse Date, Date, Thread, Author