help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make emacs stop trying to load /home/sb/.emacs after su to ro


From: Perry Smith
Subject: Re: How to make emacs stop trying to load /home/sb/.emacs after su to root?
Date: Sat, 13 Jul 2019 10:04:55 -0500

> On Jul 12, 2019, at 4:41 PM, Steinar Bang <sb@dod.no> wrote:
> 
>>        Stefan "who always uses `su -`"
> 
> Ah well... old habits are so hard to break. :-)

Just trying to help …

You could alias su.  Personally I find aliases have problems.  So, what I find 
better are small trivial functions (assuming you are using bash/ksh/…) that 
changes the command you like to type into the command that “works” (by your 
definition of “works”)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]