diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-23 02:45:07 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-23 02:45:07 +0900 |
| commit | 4a8e23a5e6c738f45a3e73674494917b27a1a0f5 (patch) | |
| tree | 2c0759f60eb5abcf38fcc8bc81440b4f19cc2aa2 | |
| parent | 4b575178610713658f1432ce73387771a4e010b0 (diff) | |
modified zsh/.zshrc
| -rw-r--r-- | ar/.config/zsh/.zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
