tmux-python/tmuxp

How to escape the dollar sign?

yuis-ice opened this issue · 1 comments

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).