-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ZSH not built with regex support #2449
Comments
I'll try to get on this asap for you |
Unfortunately, I don't know enough about where ZSH is pulling its modules from - it appears to be a problem dynamically loading the module, rather than not having the right mode built. We unfortunately need the help of someone who understands ZSH better |
@KaraokeStu @forivall |
@KaraokeStu I would need to take a look at what modules are in zsh in the first place; I ran into this first when trying to load my dotfiles. The only one that came to mind are the vcs hooks. Googling gets me the full list: http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html I'll try that when I get home. |
@forivall The main reason I ask is that these modules are all compiled, but they are dynamically linked and only loaded if necessary - this would be ideal especially for the lower-end devices, as it reduces the memory overhead - however, we need to work out how to configure the system to be able to access these shared dynamic modules - I'm sure it's as simple as tagging something in the configuration, however I don't know enough about ZSH to even know where to start |
the list of modules available in the synology zsh package are:
The modules I have loading in my typical zsh sessions are:
So, the ones that I would need to be added are: (
As far as figuring out how to get shared dynamic modules working, I also don't know where to start. If statically linking the modules would be necessary, other people can run the above command in their shell (with the top list in their clipboard) to see what modules they need. |
@x1a0 How do I accomplish this step by step? This issue seems to still be relevant at this time, and I want to fix it manually. I don't have enough know-how to resolve this without help. |
I've spent the day to look into this (the first time I looked at a Makefile in detail). I have a DS-2415+. While compiling I then inspected zsh's A following If one doesn't care about the size of the |
@agross I think this might have regressed with one of the recent updates. With
Edit: Just realized that I had installed the package without modules. It works just fine. |
@jan-auer Alright ;-) |
+1 async_worker_eval:12: command not found: zpty |
What do you mean by "+1"? $ zmodload zsh/zpty
$ zmodload
zsh/compctl
zsh/complete
zsh/complist
zsh/datetime
zsh/main
zsh/parameter
zsh/regex
zsh/stat
zsh/system
zsh/termcap
zsh/terminfo
zsh/zle
zsh/zleparameter
zsh/zpty
zsh/zutil
$ zpty test sleep 10
# Wait a bit.
$ zpty -
(finished) test: sleep 10 |
A “+1” is like a laconic show of support: a vote, a “me too please” |
Thanks, I was aware of that. He didn't comment about what he is supporting, though. Does he have an issue? Because he didn't install the "with modules" variant? Is something broken in his "with modules variant? |
Setup
Package Name: zsh
Package Version: 5.2-3
NAS Model: DS214se
NAS Architecture: MARVELL Armada 370 88F6707
DSM version: DSM 6.0.2-8451 (also happened on 5)
Expected behavior
Actual behavior
Steps to reproduce
1. Install zsh
2. Run the above commands in zsh
The build option to enable regex needs to be enabled: ohmyzsh/ohmyzsh#227 (comment)
The text was updated successfully, but these errors were encountered: