-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
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
-regex-match not available for regex #227
Comments
You must be using an old version of oh-my-zsh or a plugin for I grep’ed for ‘regex-match’ and I cannot find it. |
I just executed this command as specified by the readme:
Here's the install log: --2011-02-28 00:23:51-- https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh Resolving github.com... 207.97.227.239 Connecting to github.com|207.97.227.239|:443... connected. WARNING: cannot verify github.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287': Self-signed certificate encountered. WARNING: certificate common name `*.github.com' doesn't match requested host name `github.com'. HTTP request sent, awaiting response... 200 OK Length: 1186 (1.2K) [text/plain] Saving to: `STDOUT' 100%[=============================================================================================================================================================================================================================>] 1,186 --.-K/s in 0s 2011-02-28 00:23:52 (368 MB/s) - written to stdout [1186/1186] Cloning Oh My Zsh... Cloning into /home/user/.oh-my-zsh... remote: Counting objects: 1564, done. remote: Compressing objects: 100% (783/783), done. remote: Total 1564 (delta 957), reused 1302 (delta 730) Receiving objects: 100% (1564/1564), 183.78 KiB, done. Resolving deltas: 100% (957/957), done. Looking for an existing zsh config... Found ~/.zshrc. Backing up to ~/.zshrc.pre-oh-my-zsh Using the Oh My Zsh template file and adding it to ~/.zshrc Copying your current PATH and adding it to the end of ~/.zshrc for you. Time to change your default shell to zsh! chsh: /usr/bin/env zsh: non-standard shell __ __ ____ / /_ ____ ___ __ __ ____ _____/ /_ / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ / /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / \____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ /____/ \n\n ....is now installed. source: not found After that I just execute title:3: failed to load module: zsh/regex title:3: -regex-match not available for regex It seems that the |
This is not a bug in ZSH. My advice to you is to recompile your ZSH. |
That's the first thing I tried before creating this ticket. Perhaps it's something in my environment, I'll try it on a different machine with a clean profile aswell. |
You need to pass flags to configure to enable regex like |
I have just tried to install it on a different (newer, FreeBSD 8.2 instead of 7.2) machine and that worked mostly fine. Passing a flag like There are some small bugs/issues in the install though...
This does work:
If the command would be changed to this, it would work:
It seems silly though, since the install script has these lines at the bottom:
Should I assume that the
Removing ~/.oh-my-zsh [[: not found Looking for an existing zsh config... Switching back to bash chsh: /bin/bash: non-standard shell source: not found Thanks for trying out Oh My Zsh. It's been uninstalled. Not sure what 's causing the
Or even better, it should remember the previous shell ;) |
Make the changes yourself then make a pull request. Don’t depend on wget. It’s not available on all systems. Check for both wget and curl. |
wget isn't my idea, that line was copied straight from the manual: https://github.com/robbyrussell/oh-my-zsh/blob/master/README.textile But I agree, there should be examples for wget, curl and fetch. |
this is happening on FreeBSD-12.1 when Synth try to use zsh for nextcloud |
@jerome-diver and for anyone else using FreeBSD that see this. Remove the STATIC use flag to fix this issue. |
@y2kbadbug thank you for your help. What is the "STATIC" use flag ? Where is this flag to remove from ? |
Sorry for not being specific. It's the make options flag which would require you to build the port if the pre-built package doesn't have it. |
It seems that the FreeBSD version of ZSH compiles slightly different. I do have the
ZSH_PCRE
flag enabled but I still keep getting these errors:I know I can disable it in
title
, but it looks like these regexes are integrated through the entire system so I'm not sure if that would help much.I'm running:
The text was updated successfully, but these errors were encountered: