vim-tmuxify icon indicating copy to clipboard operation
vim-tmuxify copied to clipboard

Not escaping %b on the first encounter.

Open symbolix opened this issue 1 year ago • 0 comments

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: %"'
}

symbolix avatar Jan 27 '25 13:01 symbolix