-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
UPDATE: Actually, this seems to be happening with regular fresh invocations in the command line now, I'm not sure what is going on other than there seems to be something wrong with my setup.
When doing something like the following:
❯ find tmux -name '*.yml' -exec fresh {} --file=~/.config/tmuxinator/{} ';'
Either find or fresh seems to escape its input incorrectly because this happens:
Add `fresh tmux/config\.yml \-\-file\=\~/\.config/tmuxinator/tmux/config\.yml` to /home/user/.freshrc [Y/n]? ^C
Dashes, dots, equal signs, and tildes seem to get backslashes added to them. The resulting line won't execute properly as fresh needs --file, not `--file'.
I did try quoting the special characters:
❯ find tmux -name '*.yml' -exec fresh '{} --file=~/.config/tmuxinator/{}' ';'
But this only seemed to make things worse:
Add `fresh tmux/config\.yml\ \-\-file\=\~/\.config/tmuxinator/tmux/config\.yml` to /home/user/.freshrc [Y/n]? ^C
Metadata
Metadata
Assignees
Labels
No labels