This commit is contained in:
Daniel Flanagan 2023-07-08 01:31:58 -05:00
parent 08a40f4ad5
commit 0bdb01b739
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -61,7 +61,7 @@ end
# Otherwise, assume we're in a context that is not capable of "native" multiplexing features and run everything inside Zellij
if set --query FISH_START_ZELLIJ && status is-interactive
# simulate auto attach
zellij attach -c || zellij attach -c (zellij list-sessions | grep -v '(current)' | head -n 1) || zellij
zellij attach -c
# simulate auto kill
kill $fish_pid
else if set --query FISH_START_TMUX && status is-interactive