mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2025-09-02 21:06:58 +00:00
Fixes for cmdline save/restore strategy
This commit is contained in:
@ -13,7 +13,7 @@ exit_safely_if_empty_ppid() {
|
||||
|
||||
full_command() {
|
||||
[[ -z "$CPID" ]] && exit 0
|
||||
base64 /proc/${CPID}/cmdline
|
||||
cat /proc/${CPID}/cmdline | perl -ne 'print join(" ", map quotemeta, split(/\000/))' | base64 -w0
|
||||
}
|
||||
|
||||
main() {
|
||||
|
Reference in New Issue
Block a user