summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-11-30 02:33:32 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-11-30 02:33:32 +0900
commit6d2938a88318e227c53dd9fc7c1276fa28719421 (patch)
treee12dc57fcf1326ba5d67c66ac348707c9716e566
parent075b3ce2fea9546175d25844473f5d3edab66c49 (diff)
modified zsh/.zshrc, modified .gnupg/gpg-agent.conf
-rw-r--r--ar/.config/zsh/.zshrc20
-rw-r--r--global/.gnupg/gpg-agent.conf1
2 files changed, 10 insertions, 11 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
diff --git a/global/.gnupg/gpg-agent.conf b/global/.gnupg/gpg-agent.conf
index be889cc..15b30ea 100644
--- a/global/.gnupg/gpg-agent.conf
+++ b/global/.gnupg/gpg-agent.conf
@@ -2,4 +2,3 @@ allow-preset-passphrase
enable-ssh-support
default-cache-ttl 86400
max-cache-ttl 86400
-pinentry-program /opt/homebrew/bin/pinentry-mac