summaryrefslogtreecommitdiffstats
path: root/.bash_profile
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-11-08 22:25:13 +0100
committerAhmed Abdelhalim <[email protected]>2025-11-08 22:25:13 +0100
commitf265feb0d743103e151ac53e24a318d3012d5c10 (patch)
treea777055693cdab12e3792119fa188d533c1e41c0 /.bash_profile
parenta1383359e02dd1fed6ebe466e78397abb42c35bc (diff)
Remove the trap after adding StreamLocalBindUnlink yes to remotes
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile5
1 files changed, 0 insertions, 5 deletions
diff --git a/.bash_profile b/.bash_profile
index f9b3910..55c8ca3 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -44,11 +44,6 @@ if [ -z "$SSH_AUTH_SOCK" ]; then
SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
export SSH_AUTH_SOCK
fi
-# Clean up sockets on logout to avoid gpg warning
-# Warning: remote port forwarding failed for listen path
-if [ -n "$SSH_CONNECTION" ]; then
- trap 'rm -f /run/user/$(id -u)/gnupg/S.* 2>/dev/null' EXIT
-fi
# ==== Shell Opts
shopt -s checkwinsize # check the window size after each command and, if necessary, update LINES/COLUMNS