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. -- Pierre Neidhardt https://ambrevar.xyz/