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

Not escaping %b on the first encounter. #30

Open
symbolix opened this issue Jan 27, 2025 · 0 comments
Open

Not escaping %b on the first encounter. #30

symbolix opened this issue Jan 27, 2025 · 0 comments

Comments

@symbolix
Copy link

Hi,

When I do this:
:TxSetRunCmd

and then set the command to the following:
echo debug_1: $(date '+%b %d'); echo debug_2: $(date '+%b %d')

Then I execute the command through:
:TxRun

I get the following output in my tmux session:

debug_1: /home/xenohawk/dev/c_studies/src/study_01.cb 27
debug_2: Jan 27

It seems like %b is not escaped properly on the first encounter? My g:tmuxify_run looks like this:

{
    'c': 'echo debug_1: $(date ''+%b %d''); echo debug_2: $(date ''+%b %d'')',
    'sh': 'echo "{sh} default hook is: %"',
    'cpp': 'echo "{cpp} default hook is: %"',
    'python': 'echo "{python} default hook is: %"'
}
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