diff options
| author | Brian Cully <bjc@kublai.com> | 2022-10-26 21:10:21 -0400 |
|---|---|---|
| committer | Jim Porter <jporterbugs@gmail.com> | 2022-11-05 12:05:05 -0700 |
| commit | 062d16c3ebed270aa1cb64b6b6cd09c36002d4a5 (patch) | |
| tree | 102387d967fa933aefc35166441eac4dfe521c84 /etc/NEWS | |
| parent | 8a49a888532c955ae81855636a65b446508cb361 (diff) | |
| download | emacs-062d16c3ebed270aa1cb64b6b6cd09c36002d4a5.tar.gz | |
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.
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -370,6 +370,11 @@ node in the Eshell manual for more details. *** Eshell pipelines now only pipe stdout by default. To pipe both stdout and stderr, use the '|&' operator instead of '|'. +*** New eshell built-in command 'doas'. +The privilege-escalation program 'doas' has been added to the existing +'su' and 'sudo' commands from the 'eshell-tramp' module. The external +command may still be accessed by using '*doas'. + --- ** The 'delete-forward-char' command now deletes by grapheme clusters. This command is by default bound to the <Delete> function key |
