]> git.eshelyaron.com Git - emacs.git/commit
Add the "doas" alias to eshell.
authorBrian Cully <bjc@kublai.com>
Thu, 27 Oct 2022 01:10:21 +0000 (21:10 -0400)
committerJim Porter <jporterbugs@gmail.com>
Sat, 5 Nov 2022 19:05:05 +0000 (12:05 -0700)
commit062d16c3ebed270aa1cb64b6b6cd09c36002d4a5
tree102387d967fa933aefc35166441eac4dfe521c84
parent8a49a888532c955ae81855636a65b446508cb361
Add the "doas" alias to eshell.

  * lisp/eshell/em-tramp.el (eshell/doas): new function.
  (eshell--method-wrap-directory): new function.
  (eshell/sudo): accept '-s'/'--shell' for interactive use.
  * test/lisp/eshell/em-tramp-tests.el
  (em-tramp-test/sudo-shell) (em-tramp-test/sudo-user-shell)
  (em-tramp-test/doas-basic) (em-tramp-test/doas-user)
  (em-tramp-test/doas-shell) (em-tramp-test/doas-user-shell): new
  tests.
  * etc/NEWS: mention new 'doas' eshell command.
  * doc/misc/eshell.texi: add 'doas' command documentation.
doc/misc/eshell.texi
etc/NEWS
lisp/eshell/em-tramp.el
test/lisp/eshell/em-tramp-tests.el