Alias not properly displayed on warning splash
parent
82343c3092
commit
bd1d72aed5
|
@ -299,9 +299,9 @@ save_all() {
|
|||
You can restore it by defining the alias below and using it to restore your session
|
||||
Combination with continuum-restore setting allows full recovering with a single command
|
||||
|
||||
alias restore='eval $( while read line_type session_name window_number window_name window_active window_flags pane_index dir pane_active pane_command pane_full_command; do
|
||||
[ x$pane_index = x0 ] && echo "cd ${dir#:} ; tmux new-session -s ${session_name#:} -n ${window_name} \" tar -xzf $HOME/.tmux/resurrect/pane_contents.tar.gz -C $HOME/.tmux/resurrect/restore --to-stdout ./pane_contents/pane-${session_name#:}:${window_number}.%${pane_index} ; exec ${pane_command:-/bin/bash}\" ; cd - > /dev/null"
|
||||
done < $HOME/.tmux/resurrect/last )'
|
||||
alias restore='eval \$( while read line_type session_name window_number window_name window_active window_flags pane_index dir pane_active pane_command pane_full_command; do
|
||||
[ x\$pane_index = x0 ] && echo "cd \${dir#:} ; tmux new-session -s \${session_name#:} -n \${window_name} \" tar -xzf \$HOME/.tmux/resurrect/pane_contents.tar.gz -C \$HOME/.tmux/resurrect/restore --to-stdout ./pane_contents/pane-\${session_name#:}:\${window_number}.%\${pane_index} ; exec \${pane_command:-/bin/bash}\" ; cd - > /dev/null"
|
||||
done < \$HOME/.tmux/resurrect/last )'
|
||||
|
||||
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue