diff options
| author | Jim Porter | 2023-07-07 23:18:33 -0700 |
|---|---|---|
| committer | Jim Porter | 2023-07-08 12:19:29 -0700 |
| commit | e074081af3de6bbdff330f6fa60355b3a86215bb (patch) | |
| tree | 5ae04f3f91038dc07914bccb920a481d0ebb11e5 /etc | |
| parent | 8c5fef4eb301d878b9761ebf74f845895f014610 (diff) | |
| download | emacs-e074081af3de6bbdff330f6fa60355b3a86215bb.tar.gz emacs-e074081af3de6bbdff330f6fa60355b3a86215bb.zip | |
Add special '$GID' variable in Eshell
See bug#64529.
* lisp/eshell/esh-var.el (eshell-variable-aliases-list): Add '$GID'.
* test/lisp/eshell/esh-var-tests.el (esh-var-test/gid-var): New test.
* doc/misc/eshell.texi (Variables): Document '$GID'.
* etc/NEWS: Announce this change (and the previous change for '$UID').
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -202,6 +202,11 @@ or get a sublist of elements 2 through 4 with '$my-list[2..5]'. For | |||
| 202 | more information, see the "(eshell) Dollars Expansion" node in the | 202 | more information, see the "(eshell) Dollars Expansion" node in the |
| 203 | Eshell manual. | 203 | Eshell manual. |
| 204 | 204 | ||
| 205 | +++ | ||
| 206 | *** Eshell's '$UID' and '$GID' variables are now connection-aware. | ||
| 207 | Now, when expanding '$UID' or '$GID' in a remote directory, the value | ||
| 208 | is the user or group ID associated with the remote connection. | ||
| 209 | |||
| 205 | --- | 210 | --- |
| 206 | *** Eshell now uses 'field' properties in its output. | 211 | *** Eshell now uses 'field' properties in its output. |
| 207 | In particular, this means that pressing the '<home>' key moves the | 212 | In particular, this means that pressing the '<home>' key moves the |