Has anyone investigated any way to restore a command by matching just the beginning or with a regex? I see the ability to use the '~', although this matches anywhere in the string. I'm looking for a way to just match the base command, normally referred to as '$0' in the shell. Two reasons: (1) sanity. Having commands launch that match fuzzy strings is...scary. (2) matching flexibility, see below.
Love tmux-resurrect!
Has anyone investigated any way to restore a command by matching just the beginning or with a regex? I see the ability to use the '~', although this matches anywhere in the string. I'm looking for a way to just match the base command, normally referred to as '$0' in the shell. Two reasons: (1) sanity. Having commands launch that match fuzzy strings is...scary. (2) matching flexibility, see below.
Examples: watch -n1 cat /path/to/file1.log watch -n1 "cat /path/to/file2.log | grep interesting-data" tail -f cat /path/to/file3.log | grep interesting-data
Thanks for making this plugin great!