From eb8c0fb43255fd4ca2de8712c4932b059b8b9c94 Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Thu, 19 Dec 2019 12:06:24 +0100 Subject: [PATCH] added bools for system identifications (will replace me/whoami) --- init.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index addb6ef..02f933a 100644 --- a/init.org +++ b/init.org @@ -88,7 +88,13 @@ :ID: 00b48602-2a95-492e-a90b-c1e3a94c1ecb :END: #+BEGIN_SRC emacs-lisp - (defvar me/whoami +(setq *home_desktop* (string-equal (system-name) "marc") + ,*home_laptop* (string-equal (system-name) "laptop") + ,*work_local* (string-equal (system-name) "PMPCNEU08") + ,*work_remote* (string-equal (system-name) "PMTS01")) + + +(defvar me/whoami (if (string-equal (system-name) "PMTS01") "work_remote" (if (string-equal (system-name) "laptop")