Not sure why (getenv "SCREENRC") evaluates to "/screen/screenrc" only
and the $XDG_CONFIG_HOME prefix of it is missing. Don’t have time to
investigate.
(exec-path-from-shell-copy-env "SSH_AGENT_PID")
(exec-path-from-shell-copy-env "SSH_AUTH_SOCK"))
(exec-path-from-shell-copy-env "SSH_AGENT_PID")
(exec-path-from-shell-copy-env "SSH_AUTH_SOCK"))
;; only one custom theme at a time
(comment
(defadvice load-theme (before clear-previous-themes activate)
;; only one custom theme at a time
(comment
(defadvice load-theme (before clear-previous-themes activate)
:map term-raw-map
("C-c C-j" . term-line-mode))
:config
:map term-raw-map
("C-c C-j" . term-line-mode))
:config
- (setq multi-term-program "/bin/screen"
+ (setq multi-term-program "screen"
+ multi-term-program-switches (concat "-c"
+ (getenv "XDG_CONFIG_HOME")
+ "/screen/screenrc")
;; TODO: add separate bindings for connecting to existing
;; session vs. always creating a new one
multi-term-dedicated-select-after-open-p t
;; TODO: add separate bindings for connecting to existing
;; session vs. always creating a new one
multi-term-dedicated-select-after-open-p t