Skip to content

Not escaping %b on the first encounter. #30

@symbolix

Description

@symbolix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions