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

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

bug#28320: 25.2; Eshell/TRAMP's sudo does not work with aliases


From: Pierre Neidhardt
Subject: bug#28320: 25.2; Eshell/TRAMP's sudo does not work with aliases
Date: Fri, 12 Feb 2021 11:30:52 +0100

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Is this working as designed, or is eshell supposed to expand the alias
> before calling sudo?

I don't remember what I had in mind when I initially posted the issue,
but I suppose that I reported it because I noticed an inconsistency
between "sudo" and "*sudo".

That said, Bash does not expand aliases before sudo.  So maybe the right
thing to do is to have "*sudo" behave the same way as well, to be
consistent with what users may be familiar with (Bash).

Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

Attachment: signature.asc
Description: PGP signature


reply via email to

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