|
From: | Christopher Schmidt |
Subject: | Re: Customising .init.el for root user |
Date: | Fri, 21 Jun 2013 14:18:51 +0100 (BST) |
david@adboyd.com (J. David Boyd) writes: > (setq whoami-string > (substring > (shell-command-to-string "whoami") > 0 -1)) > > > > Then you could do > > (when (string= (whoami-string) "root") > ..run some customisations... > ) (eq (user-uid) 0) Christopher
[Prev in Thread] | Current Thread | [Next in Thread] |