summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.org2
-rw-r--r--tag-xresources/xresources/main20
-rw-r--r--tag-zsh/config/zsh/zshenv2
3 files changed, 2 insertions, 22 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index e2be2a10..24efdb6a 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -677,7 +677,7 @@ that I can sudo on remote machines
   :defer 7
   :config (progn
             (unless (getenv "SSH_AUTH_SOCK")
-              (setenv "SSH_AUTH_SOCK" "/run/user/1000/ssh-agent.socket"))
+              (setenv "SSH_AUTH_SOCK" (format "/run/user/%s/ssh-agent" (user-uid))))
             (setq tramp-default-method "ssh"
                   tramp-default-user-alist '(("\\`su\\(do\\)?\\'" nil "root"))
                   tramp-backup-directory-alist backup-directory-alist
diff --git a/tag-xresources/xresources/main b/tag-xresources/xresources/main
index 53e9676f..73f8096d 100644
--- a/tag-xresources/xresources/main
+++ b/tag-xresources/xresources/main
@@ -3,26 +3,6 @@
 Xcursor.theme:            Neutral
 Xcursor.size:             22
 
-URxvt.fading:             0
-URxvt.geometry:           100x40
-URxvt.urgentOnBell:       true
-
-URxvt.scrollBar:          false
-URxvt.scrollstyle:        plain
-URxvt.scrollTtyOutput:    false
-URxvt.scrollWithBuffer:   true
-URxvt.scrollTtyKeypress:  true
-URxvt.saveLines:          16384
-URxvt.secondaryScroll:    false
-
-URxvt.font:               -xos4-terminus-medium-r-normal--14-140-72-72-c-80-*-*
-URxvt.boldFont:
-URxvt.intensityStyles:    true
-
-URxvt.pointerBlank:       true
-URxvt.pointerBlankDelay:  987654321
-URxvt.letterSpace:        0
-
 Emacs.ToolBar:            off
 Emacs.MenuBar:            off
 Emacs.ScrollBars:         off
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv
index e75704ca..f1cad02f 100644
--- a/tag-zsh/config/zsh/zshenv
+++ b/tag-zsh/config/zsh/zshenv
@@ -14,7 +14,7 @@ then
 
   if [[ -z $SSH_AUTH_SOCK ]]
   then
-    export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
+    export SSH_AUTH_SOCK=${XDG_RUNTIME_DIR:-/run/user/$UID}/ssh-agent
   fi
 
   case $OSTYPE in