We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abbc4fb commit 716b958Copy full SHA for 716b958
scripts/restore.sh
@@ -130,6 +130,7 @@ new_window() {
130
local dir="$4"
131
local pane_index="$5"
132
local pane_id="${session_name}:${window_number}.${pane_index}"
133
+ dir="${dir/#\~/$HOME}"
134
if is_restoring_pane_contents && pane_contents_file_exists "$pane_id"; then
135
local pane_creation_command="$(pane_creation_command "$session_name" "$window_number" "$pane_index")"
136
tmux new-window -d -t "${session_name}:${window_number}" -n "$window_name" -c "$dir" "$pane_creation_command"
0 commit comments