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

URLs not being copied correctly if they include a percentage sign #2

Open
jmriego opened this issue Jun 20, 2019 · 0 comments
Open

Comments

@jmriego
Copy link

jmriego commented Jun 20, 2019

Hi! Just started using this script and finding it amazing. It saves so much time typing or copy/pasting with tmux manually.

I found an issue though when copying URLs if they include a percentage sign. For example, something like this wouldn't be copied correctly:
https://github.com/myproject/new?merge_request%5Bsource_branch%5D=newfeature

The reason is that the copied pattern gets piped using printf in hint_mode.sh so it thinks part of that string is formatting. It only copies down to the first percent sign in this case

Thanks!

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