Skip to content
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

cgit operations don't work with zsh #52

Open
williamspatrick opened this issue Jan 24, 2022 · 0 comments
Open

cgit operations don't work with zsh #52

williamspatrick opened this issue Jan 24, 2022 · 0 comments

Comments

@williamspatrick
Copy link

A generated cgit URL would have a question mark in it, which is treated by zsh as a match character by default.

$ xdg-open https://git.qemu.org/git/qemu.git/tree/COPYING.LIB?id=89f3bfa3265554d1d591ee4d7f1197b6e3397e84#n36
zsh: no matches found: https://git.qemu.org/git/qemu.git/tree/COPYING.LIB?id=89f3bfa3265554d1d591ee4d7f1197b6e3397e84#n36

I've worked around this by doing:

let g:gh_open_command = 'unsetopt nomatch; xdg-open '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant