summaryrefslogtreecommitdiff
path: root/ar/.config/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.config/zsh/.zshrc')
-rw-r--r--ar/.config/zsh/.zshrc20
1 files changed, 10 insertions, 10 deletions
diff --git a/ar/.config/zsh/.zshrc b/ar/.config/zsh/.zshrc
index 8197680..f037945 100644
--- a/ar/.config/zsh/.zshrc
+++ b/ar/.config/zsh/.zshrc
@@ -129,13 +129,13 @@ export OPENAI_API_KEY="$(pass show api/chatGPT/nvim | head -n1)"
### --- TMUX --- ###
-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
+# 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