tmux-resurrect icon indicating copy to clipboard operation
tmux-resurrect copied to clipboard

Fix session restore failed when command with absolute path

Open allex opened this issue 8 years ago • 2 comments

Fix session restore failed when command with absolute path

allex avatar May 28 '16 10:05 allex

Hm.. I've never had an issue with this. Can you explain what's wrong with this?

bruno- avatar May 28 '16 15:05 bruno-

Not sure for details about command with full path. i've just found there are some absolute path in session file, just like below:

pane    0   3   :test-session   1   :*  1   :/Users/allex/dev/web-tools/kitty   1   vim :/usr/bin/vim bin/checkout.sh

in that case, this panel process will not be restored success (because of the $pane_full_command eq to /usr/bin/vim)

allex avatar Jun 03 '16 01:06 allex