Skip to content

How to escape the dollar sign? #945

Open
@yuis-ice

Description

@yuis-ice

Here's an example tmuxp yaml config part:

    panes:
      - shell_command:
        - autossh -t -p 30360 tmp@localhost 'PATH=~/.nvm/versions/node/v20.16.0/bin:$PATH && cd pg && npx local-web-server -p 30361'

The problem is simply, the $PATH part expands on the tmux session (what I do not desire and expect) which breaks the command, so I need to disable the feature (?) or safely escape such character(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions