Alias not properly displayed on warning splash

pull/318/head
Javier Palacios 2019-11-30 11:10:54 +00:00
parent 82343c3092
commit bd1d72aed5
1 changed files with 3 additions and 3 deletions

View File

@ -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