aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJim Porter2023-07-07 23:18:33 -0700
committerJim Porter2023-07-08 12:19:29 -0700
commite074081af3de6bbdff330f6fa60355b3a86215bb (patch)
tree5ae04f3f91038dc07914bccb920a481d0ebb11e5 /etc
parent8c5fef4eb301d878b9761ebf74f845895f014610 (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 0556e8be585..246e6b21838 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -202,6 +202,11 @@ or get a sublist of elements 2 through 4 with '$my-list[2..5]'. For
202more information, see the "(eshell) Dollars Expansion" node in the 202more information, see the "(eshell) Dollars Expansion" node in the
203Eshell manual. 203Eshell manual.
204 204
205+++
206*** Eshell's '$UID' and '$GID' variables are now connection-aware.
207Now, when expanding '$UID' or '$GID' in a remote directory, the value
208is 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.
207In particular, this means that pressing the '<home>' key moves the 212In particular, this means that pressing the '<home>' key moves the