Skip to content

Commit 6b935bf

Browse files
committed
fix: remove pane_id
1 parent 6874641 commit 6b935bf

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

autoload/tpipeline.vim

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,12 @@ let s:exit_code = -1
77
func tpipeline#get_filepath()
88

99
if !empty($ZELLIJ)
10-
" e.g. /tmp/zjstatus-$UID/$SESSION_NAME-$PANE_ID-vimbridge
10+
" e.g. /tmp/zjstatus-$UID/$SESSION_NAME-vimbridge
1111
let p = "/tmp/zjstatus-" . systemlist("id -u")[-1]
1212
silent! call mkdir(p)
1313
let session = $ZELLIJ_SESSION_NAME
14-
" TODO: wait for https://github.com/zellij-org/zellij/issues/2835
15-
" so we can identify the currently active pane. Now I have to hardcode it
16-
" to zjstatus - so no reason to use the variable here, yet.
17-
" let paneid = $ZELLIJ_PANE_ID
18-
let paneid = "0"
1914
let p = p . "/"
20-
let zellij = p . session . "-" . paneid . "-vimbridge"
15+
let zellij = p . session . "-vimbridge"
2116
return zellij
2217
endif
2318

0 commit comments

Comments
 (0)