Last active
June 10, 2019 11:09
-
-
Save jmercouris/b98a3f3e24c47175aa09ea6010b9ef5e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun session-server-addresses () | |
"Return a list of server addresses for the current session." | |
(when-let (string (getenv "DBUS_SESSION_BUS_ADDRESS")) | |
(parse-server-addresses-string string))) | |
-------------------------------------------------- | |
> echo $DBUS_LAUNCHD_SESSION_BUS_SOCKET | |
/private/tmp/com.apple.launchd.3vLn74rWFQ/unix_domain_listener | |
> echo $DBUS_SESSION_BUS_ADDRESS | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment