Switch from tmux to zellij
Also remapped some nvim and zsh keybinds to not conflict with zellij
This commit is contained in:
parent
df45dea143
commit
7136b447f9
8 changed files with 48 additions and 17 deletions
9
home/.config/zsh/01-zellij.zsh
Normal file
9
home/.config/zsh/01-zellij.zsh
Normal file
|
@ -0,0 +1,9 @@
|
|||
if [[ -z "$ZELLIJ" ]]; then
|
||||
# Launch or attach to existing session if logging in over ssh
|
||||
if [[ -n "$SSH_CONNECTION" ]]; then
|
||||
exec zellij attach -s SSH
|
||||
# Launch a new local session otherwise
|
||||
else
|
||||
exec zellij
|
||||
fi
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue