From 0117cc612e671ccead9a5f2a24fe2edc065e0983 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sat, 13 Sep 2025 02:00:53 +0200 Subject: [PATCH] zsh: Only start sesh-select if both sesh and sesh-select are available --- zsh/dot-zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc index 41d5b60..06fa08e 100644 --- a/zsh/dot-zshrc +++ b/zsh/dot-zshrc @@ -141,7 +141,7 @@ done ZSH_TMUX_AUTOSTART=true if (( $+commands[tmux] )); then if [[ -z "$TMUX" && "$ZSH_TMUX_AUTOSTART" == "true" && -z "$INSIDE_EMACS" && -z "$EMACS" && -z "$VIM" && -z "$INTELLIJ_ENVIRONMENT_READER" && -z "$ZED_TERM" ]]; then - if (( $+commands[sesh] )); then + if (( $+commands[sesh] )) && (( $+commands[sesh-select] )); then sesh-select else tmux new-session