From f265feb0d743103e151ac53e24a318d3012d5c10 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 8 Nov 2025 22:25:13 +0100 Subject: Remove the trap after adding StreamLocalBindUnlink yes to remotes --- .bash_profile | 5 ----- 1 file changed, 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 -- cgit v1.2.3