File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ func tpipeline#fork_job()
173
173
let s: restore_left = systemlist (" sh -c 'echo \"\" ; tmux display-message -p \" #{status-left}\" '" )[-1 ]
174
174
let s: restore_right = systemlist (" sh -c 'echo \"\" ; tmux display-message -p \" #{status-right}\" '" )[-1 ]
175
175
endif
176
- let script = printf (" while IFS='$\\ n' read -r l; do echo \" $l\" > '%s'" , s: tpipeline_filepath )
176
+ let script = printf (" export IFS='$\\ n'; while read -r l; do echo \" $l\" > '%s'" , s: tpipeline_filepath )
177
177
if g: tpipeline_usepane
178
178
" end early if file was truncated so as not to overwrite any titles of panes we may switch to
179
179
let script .= " ; if [ -z \" $l\" ]; then continue; fi"
@@ -190,7 +190,7 @@ func tpipeline#fork_job()
190
190
endif
191
191
endif
192
192
if g: tpipeline_split
193
- let script .= printf (" ; IFS='$ \\ n' read -r r; echo \" $r\" > '%s'" , s: tpipeline_right_filepath )
193
+ let script .= printf (" ; read -r r; echo \" $r\" > '%s'" , s: tpipeline_right_filepath )
194
194
endif
195
195
if g: tpipeline_usepane
196
196
let script .= " ; tmux select-pane -T \" #[fill=${C:3}]#[align=left]$l#[align=right]$r\" "
You can’t perform that action at this time.
0 commit comments