Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Can't tell the difference in operation between PATH_SCRIPT and NO_PATH_SCRIPT



Am Fri, 26 Jan 2024 14:17:14 -0500
schrieb Steve Dondley <s@xxxxxxxxxxx>:

> > 
> > I respectfully disagree.

And so do I ...

> [...] I see ZDOTDIR listed in the
> “Parameters” chapter. I have no idea what a “Parameter” is. Is this
> an environment variable? And I don’t get any of my other questions
> answered.

man zshparam

First Section "DESCRIPTION"
First Paragraph

[cite]
A parameter has a name, a value, and a number of attributes. 
A name may be any sequence of alphanumeric characters and underscores,
or the single characters ‘*', ‘@', ‘#', ‘?', ‘-', ‘$', or ‘!'. A
parameter whose name begins with an alphanumeric or underscore is also
referred to as a variable.
[/cite]

For me this definitely adequately describes what exactly a 'parameter'
is.

   --> arguments <--==--> parameters <--==--> variables <--

Is just depends on the angle from which I have the view to them.

And the $ZDOTDIR:
   https://zsh.sourceforge.io/Intro/intro_3.html

So, if you want to have the zsh startup files, e.g. your sysop mounts
your team account to somewhere else than

/home/user,

then he will probably set

ZDOTDIR=/srv/teams/coders/user


Have a lot of Fun...

-uw
-- 
+----------------------------------------------------------------------+
| .m0rph@work                       | https://twitter.com/m0rphisto/   |
|                                   | https://github.com/m0rphisto/    |
|                                   |                          .--.    |
|                   _          _ _   _ _                      |o_o |   |
| ^__^             | | __     | (_) | (_)                     |:_/ |   |
| (oo)________     | |/ /  _ _| |_  | |_ _ __  _   ___  __   //   \ \  |
| (__)\       )/\/ | ` / / _` | | | | | | '_ \| | | \ \/ /  (|     | ) |
|     ||----W |    | , \| (_| | | | | | | | | | |_| |>  <  /'\_   _/`\ |
|     ||     ||    |_|\_\\__,_|_|_| |_|_|_| |_|\__,_/_/\_\ \___)=(___/ |
+----------------------------------------------------------------------+


Messages sorted by: Reverse Date, Date, Thread, Author