summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authordana <dana@dana.is>2026-05-02 14:12:43 -0500
committerdana <dana@dana.is>2026-05-02 14:12:58 -0500
commit51f9738d09e26e9e0b903bec4f5f4763b3adbf9a (patch)
tree2a3dceb344e2525e9e93a6fbe16ca22f567c0286 /Doc
parent54423 (tweaked): compinit: improve and document -w (diff)
downloadzsh-51f9738d09e26e9e0b903bec4f5f4763b3adbf9a.tar
zsh-51f9738d09e26e9e0b903bec4f5f4763b3adbf9a.tar.gz
zsh-51f9738d09e26e9e0b903bec4f5f4763b3adbf9a.tar.bz2
zsh-51f9738d09e26e9e0b903bec4f5f4763b3adbf9a.tar.lz
zsh-51f9738d09e26e9e0b903bec4f5f4763b3adbf9a.tar.xz
zsh-51f9738d09e26e9e0b903bec4f5f4763b3adbf9a.tar.zst
zsh-51f9738d09e26e9e0b903bec4f5f4763b3adbf9a.zip
54424: ZSH_EXEPATH: improve documentation, add test
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/params.yo3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index ecedc3862..8fdc7353f 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1175,6 +1175,9 @@ the argument passed to the option. Otherwise it is not set.
vindex(ZSH_EXEPATH)
item(tt(ZSH_EXEPATH))(
Full pathname of the executable file of the current zsh process.
+This value should be accurate on Linux, macOS, FreeBSD, DragonflyBSD,
+NetBSD, Solaris, Cygwin, and their derivatives. On other systems, it is
+determined from tt(argv[0]), which is not always accurate.
)
vindex(ZSH_NAME)
item(tt(ZSH_NAME))(