Closed TheCedarPrince closed 4 years ago
The variable name is @resurrect-processes
(plural). Is that the error?
I think set -g @resurrect-processes 'julia'
should work.
@moelf, does this work for you now?
works for python but not julia it seems
I think you may need to add it possibly like this if I read the documentation correctly: set -g @resurrect-processes '~julia'
still doesn't work for some reason
last:
pane 0 1 :julia 1 :* 0 :/home/akako 1 julia :julia
window 0 1 1 :* cafd,120x29,0,0,0
state 0
config:
...
set -g @continuum-restore 'on'
set -g @continuum-save-interval '10'
set -g @resurrect-capture-pane-contents 'on'
set -g @resurrect-strategy-vim 'session'
set -g @resurrect-processes '~julia'
set -g @resurrect-processes '~python'
...
How curious! Any thoughts @bruno- ?
set -g @resurrect-processes '~python'
line is overriding a previous line with julia.
@bruno- ah, I see they don't stack, instead I should put all the additional programs into a single line as described here: https://github.com/tmux-plugins/tmux-resurrect/blob/master/docs/restoring_programs.md
thx!
@Moelf - just so it is clear, did the following work for you:
set -g @resurrect-processes 'python julia'
or did you have to do something different? Thanks!
each with an additional ~
for scripts running
Wonderful! So the final command would look something like this then:
set -g @resurrect-processes 'python julia'
if no scripts are running
set -g @resurrect-processes 'python ~julia myfile.jl'
if there is a script running
Is that how it ended up working for you @Moelf ?
no there no myfile.jl, I just put the ~
in case I'm running some scripts
Perfect! Thanks for the help @bruno- and glad we could figure out what was going on @Moelf . I'll close this issue now. :smile:
Hi all - thank you for a wonderful project! It works amazingly well for my workflow with tmux, nvim, programming, writing, and research. :smiley:
One issue that I am running into is the inability to resurrect a Julia REPL process. I examined issue #224 as it was similar to my issue but that solution did not work for me. Furthermore, I consulted the documents on restoring a program but no luck there too.
My
~/.tmux/resurrect/last
file looks like this:and I tried the line
set -g @resurrect-process '~julia'
in mytmux.conf
file but no luck. Any thoughts as to why this is not resurrecting the Julia REPL processes? Thanks for any help!(CC @moelf)