Some places need multiplexing
This commit is contained in:
parent
aef1472d51
commit
9a18b28b7a
|
@ -57,11 +57,10 @@ test $PWD = $HOME && begin
|
||||||
cd $NICE_HOME || cd
|
cd $NICE_HOME || cd
|
||||||
end
|
end
|
||||||
|
|
||||||
# if status is-interactive
|
# If we're running the shell interactively from inside Kitty, assume that we will be using Kitty's multiplexing features
|
||||||
# eval (zellij setup --generate-auto-start fish | string collect)
|
# Otherwise, assume we're in a context that is not capable of "native" multiplexing features and run everything inside Zellij
|
||||||
# end
|
if set --query FISH_START_ZELLIJ
|
||||||
|
eval (zellij setup --generate-auto-start fish | string collect)
|
||||||
if status is-interactive; and not set -q TMUX; and not string match '/dev/tty*' (tty)
|
else if set --query FISH_START_TMUX
|
||||||
true
|
tmux att -t default || tmux new -s default
|
||||||
# tmux att -t default || tmux new -s default
|
|
||||||
end
|
end
|
|
@ -1,2 +1,3 @@
|
||||||
set --export --universal NOTES_PATH $NICE_HOME/storage/shared/notes
|
set --export --universal NOTES_PATH $NICE_HOME/storage/shared/notes
|
||||||
|
set --export --universal FISH_START_ZELLIJ true
|
||||||
|
|
||||||
|
|
Reference in New Issue