Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Salzmann-Jaeckel
tmux-resurrect
Commits
a876ad66
Commit
a876ad66
authored
Mar 01, 2019
by
Graham Patterson
Browse files
Adds a fix for directory paths with spaces that aren't escaped.
parent
c3ffe89e
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/save.sh
View file @
a876ad66
...
...
@@ -233,6 +233,7 @@ dump_panes() {
continue
fi
full_command
=
"
$(
pane_full_command
$pane_pid
)
"
dir
=
$(
echo
$dir
|
sed
's/ /\\ /'
)
# escape all spaces in directory path
echo
"
${
line_type
}${
d
}${
session_name
}${
d
}${
window_number
}${
d
}${
window_name
}${
d
}${
window_active
}${
d
}${
window_flags
}${
d
}${
pane_index
}${
d
}${
dir
}${
d
}${
pane_active
}${
d
}${
pane_command
}${
d
}
:
${
full_command
}
"
done
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment