[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: |
Lars Ingebrigtsen |
Subject: |
bug#28320: 25.2; Eshell/TRAMP's sudo does not work with aliases |
Date: |
Sat, 13 Feb 2021 22:15:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Pierre Neidhardt <mail@ambrevar.xyz> writes:
> Note that the behaviour of "sudo ..." maybe depend on
> eshell-prefer-lisp-functions.
> If it's set to nil, then "*sudo" and "sudo" are the same, which explains
> the consistency you are seeing.
I tried
M-: (setq eshell-prefer-lisp-functions t) RET
and then:
~/src/emacs/trunk $ sudo c foo /etc/bar
[sudo] password for larsi:
sudo: c: command not found
~/src/emacs/trunk $ *sudo c foo /etc/bar
[sudo] password for larsi:
sudo: c: command not found
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no