Add some change

This commit is contained in:
Davide Frattarolo
2025-08-21 17:47:15 +02:00
parent 1f0dc6bef0
commit cb0c0e6e6e
2 changed files with 13 additions and 3 deletions
+10 -2
View File
@@ -13,6 +13,14 @@ if status is-interactive
bind -M insert \cn \\t
fzf_configure_bindings --git_status=\cg --history=\cr --variables= --processes=
#zellij
tmux
# Check max tmux window in the Home session and open the Home session in a new tmux window
# Find max window number in the Home session
set tmux_max_windows_in_home (tmux list-windows -t Home | awk '{print $1}' | sed 's/[^0-9]*//g' | sort -n | tail -n 1)
if test -z "$TMUX"
if test -n "$SSH_CONNECTION"
tmux new-session -A -s Home
else
tmux new-session -A -s Home
end
end
end