aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorJim Porter2023-07-07 23:18:33 -0700
committerJim Porter2023-07-08 12:19:29 -0700
commite074081af3de6bbdff330f6fa60355b3a86215bb (patch)
tree5ae04f3f91038dc07914bccb920a481d0ebb11e5 /doc/misc
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 'doc/misc')
-rw-r--r--doc/misc/eshell.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi
index 6e92d598387..c6376882542 100644
--- a/doc/misc/eshell.texi
+++ b/doc/misc/eshell.texi
@@ -993,6 +993,13 @@ variable is connection-aware, so when the current directory is remote,
993its value will be @acronym{UID} for the user associated with that 993its value will be @acronym{UID} for the user associated with that
994remote connection. 994remote connection.
995 995
996@vindex $GID
997@item $GID
998This returns the effective @acronym{GID} for the current user. Like
999@code{$UID}, this variable is connection-aware, so when the current
1000directory is remote, its value will be @acronym{GID} for the user
1001associated with that remote connection.
1002
996@vindex $_ 1003@vindex $_
997@item $_ 1004@item $_
998This refers to the last argument of the last command. With a 1005This refers to the last argument of the last command. With a