From b15c6b710f19b74398acd738efb6281183c88b8d Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 24 Aug 2025 12:05:10 +0900 Subject: updates --- mac/.config/zsh/.zshrc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'mac/.config/zsh/.zshrc') diff --git a/mac/.config/zsh/.zshrc b/mac/.config/zsh/.zshrc index 4126b8f..d5f3490 100644 --- a/mac/.config/zsh/.zshrc +++ b/mac/.config/zsh/.zshrc @@ -112,14 +112,3 @@ zstyle ':fzf-tab:*' switch-group ',' '.' # switch group using `,` and `.` [ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/shell/shortcutrc" ] && source "${XDG_CONFIG_HOME:-${HOME}/.config}/shell/shortcutrc" [ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/shell/shortcutenvrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc" [ -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" -ax "${TERMINAL:-st}" | grep -Ev 'ncmpcpp|newsboat|pulsemixer|spterm|splf|spcalc|stig|vimwikitodo' | wc -l) - if [ "$terminal_count" -le 1 ]; then - if ! tmux has-session 2>/dev/null; then - exec tmux new-session -s code - else - exec tmux attach-session - fi - fi -fi -- cgit v1.2.3