Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Fix remote regex for zsh#774

Merged
KnisterPeter merged 1 commit intoKnisterPeter:masterfrom
Drarig29:master
Mar 19, 2021
Merged

Fix remote regex for zsh#774
KnisterPeter merged 1 commit intoKnisterPeter:masterfrom
Drarig29:master

Conversation

@Drarig29
Copy link
Copy Markdown
Contributor

My remote is origin.

So the first command git config --local --get remote.upstream.url doesn't return anything (because I don't have a remote named upstream).

After that, the second command git config --local --get-regexp ^remote.*.url should find my remote... but it fails.

If I try to run it in zsh, I get:

zsh: no matches found: ^remote.*.url

I need to surround the regex with quotation marks so that zsh does not interpret the regex.

Copy link
Copy Markdown
Owner

@KnisterPeter KnisterPeter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Thanks for your contribution 🎉

@KnisterPeter KnisterPeter merged commit f2a3047 into KnisterPeter:master Mar 19, 2021
@KnisterPeter
Copy link
Copy Markdown
Owner

@shipjs prepare

@KnisterPeter
Copy link
Copy Markdown
Owner

Released as 0.30.5

Drarig29 added a commit to Drarig29/vscode-github that referenced this pull request Apr 25, 2021
Drarig29 added a commit to Drarig29/vscode-github that referenced this pull request Apr 25, 2021
KnisterPeter pushed a commit that referenced this pull request Apr 26, 2021
@tkazik tkazik mentioned this pull request Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants