From 4a8e23a5e6c738f45a3e73674494917b27a1a0f5 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Mon, 23 Jun 2025 02:45:07 +0900 Subject: modified zsh/.zshrc --- ar/.config/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar/.config/zsh/.zshrc b/ar/.config/zsh/.zshrc index a79f93e..20e9351 100644 --- a/ar/.config/zsh/.zshrc +++ b/ar/.config/zsh/.zshrc @@ -114,7 +114,7 @@ zstyle ':fzf-tab:*' switch-group ',' '.' # switch group using `,` and `.` [ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/shell/zshnameddirrc" ] && source "${XDG_CONFIG_HOME:-${HOME}/.config}/shell/zshnameddirrc" if command -v tmux >/dev/null 2>&1 && [ -z "$TMUX" ]; then - terminal_count=$(pgrep -u "$USER" -x "${TERMINAL:-st}" | wc -l) + terminal_count=$(pgrep -u "$USER" -ax "${TERMINAL:-st}" | grep -Ev 'spterm|splf|spcalc|vimwikitodo' | wc -l) if [ "$terminal_count" -le 1 ]; then if ! tmux has-session 2>/dev/null; then exec tmux new-session -s code -- cgit v1.2.3