Skip to content

pi patterns don't work for me #5

Description

@itsfrank

The plugin is great, it just didn't work for pi for me out of the box.

I did a bit of print debugging and found that the pane_cmds returned for pi in my setup looks like this:

{ "-zsh", "pi " }

Notice the trailing space.

This diff at lua/sendit/processes.lua:30 solved it for me:

-   pi = { patterns = { "[/%s]pi$", "[/%s]pi%s" } },
+   pi = { patterns = { "[/%s]pi$", "[/%s]pi%s", "pi " } },

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