set zellij to autostart on ssh connection
This commit is contained in:
parent
9cbe200c92
commit
7197e4c27c
3 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
test -v DISTROBOX_HOST_HOME && { unset ZDOTDIR; exec zsh } # fix distrobox
|
||||
test "x$TERMINALNAME" = "xalacritty" && eval "$(zellij setup --generate-auto-start zsh)" # autostart zellij only in alacritty
|
||||
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
|
||||
test -v DISTROBOX_HOST_HOME && { unset ZDOTDIR; exec zsh }
|
||||
test -v SSH_CONNECTION && eval "$(zellij setup --generate-auto-start zsh)"
|
||||
|
||||
{{- end }}
|
||||
# options
|
||||
setopt NO_CLOBBER
|
||||
unsetopt FLOW_CONTROL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue