v1.15.1
UPDATED: * Dep/go ver bumps * gated some WIP stuff
This commit is contained in:
30
envs/.osenvs.WIP/TODO
Normal file
30
envs/.osenvs.WIP/TODO
Normal file
@@ -0,0 +1,30 @@
|
||||
macOS:
|
||||
HOME
|
||||
LOGNAME
|
||||
OLDPWD
|
||||
PATH
|
||||
PWD
|
||||
SHELL
|
||||
SHLVL
|
||||
SSH_CLIENT
|
||||
SSH_CONNECTION
|
||||
SSH_TTY
|
||||
TERM
|
||||
TMPDIR
|
||||
USER
|
||||
_
|
||||
e.g.
|
||||
HOME=/Users/bts
|
||||
LOGNAME=bts
|
||||
OLDPWD=/Users/bts
|
||||
PATH=/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
|
||||
PWD=/Users/bts
|
||||
SHELL=/bin/zsh
|
||||
SHLVL=1
|
||||
SSH_CLIENT=192.168.2.99 39690 22
|
||||
SSH_CONNECTION=192.168.2.99 39690 192.168.2.148 22
|
||||
SSH_TTY=/dev/ttys000
|
||||
TERM=xterm-256color
|
||||
TMPDIR=/var/folders/qv/bm6dlyd94x5fs6qpkfpj0jsr0000gq/T/
|
||||
USER=bts
|
||||
_=/usr/bin/env
|
||||
7
envs/.osenvs.WIP/doc.go
Normal file
7
envs/.osenvs.WIP/doc.go
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Package osenvs contains information (and, in some cases, defaults and associated methods) for
|
||||
[environment variables] ("env vars") as provided by/as part of the OS.
|
||||
|
||||
[environment variables]: https://www3.ntu.edu.sg/home/ehchua/programming/howto/Environment_Variables.html
|
||||
*/
|
||||
package osenvs
|
||||
56
envs/.osenvs.WIP/types.go
Normal file
56
envs/.osenvs.WIP/types.go
Normal file
@@ -0,0 +1,56 @@
|
||||
package osenvs
|
||||
|
||||
type (
|
||||
/*
|
||||
AppleEnv are default environment variables found in all macOS instances.
|
||||
|
||||
See also the [ss64 article].
|
||||
|
||||
macOS also has [POSIXEnv] env vars.
|
||||
|
||||
[ss64 article]: https://ss64.com/osx/syntax-env_vars.html
|
||||
*/
|
||||
AppleEnv string
|
||||
/*
|
||||
MSEnv are default environment variables found in Windows instances.
|
||||
|
||||
These include:
|
||||
|
||||
* [USMT environment variables]
|
||||
* ONLY the [Environment Variables] for Poweshell
|
||||
** Thus no Powershell ["Automatic variables"] or ["Preference variables"]
|
||||
* standard system environment variables and user environment variables
|
||||
|
||||
See also the [ss64 article] and the [compiled Windows 10 list] and [Windows 10/11 list].
|
||||
|
||||
[USMT environment variables]: https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-recognized-environment-variables
|
||||
[Environment Variables]: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.5
|
||||
["Automatic variables"]: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_automatic_variables
|
||||
["Preference variables"]: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables
|
||||
[ss64 article]: https://ss64.com/nt/syntax-variables.html
|
||||
[compiled Windows 10 list]: https://gist.github.com/RebeccaWhit3/5dad8627b8227142e1bea432db3f8824
|
||||
[Windows 10/11 list]: https://pureinfotech.com/list-environment-variables-windows-10/
|
||||
*/
|
||||
MSEnv string
|
||||
/*
|
||||
POSIXEnv are environment variables defined by/in [POSIX.1-2024] § [8. Environment Variables].
|
||||
|
||||
[POSIX.1-2024]: https://pubs.opengroup.org/onlinepubs/9799919799/
|
||||
[8. Environment Variables]: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap08.html
|
||||
*/
|
||||
POSIXEnv string
|
||||
/*
|
||||
XDGEnv are environment variables defined by the [FreeDesktop] [spec] for the
|
||||
[XDG Base Directory Specification] § [3 Environment Variables].
|
||||
|
||||
Generally these are only found/expected on Linux, and only a subset of them at that.
|
||||
|
||||
Linux also has [POSIXEnv] env vars.
|
||||
|
||||
[FreeDesktop]: https://www.freedesktop.org/wiki/
|
||||
[spec]: https://specifications.freedesktop.org/
|
||||
[XDG Base Directory Specification]: https://specifications.freedesktop.org/basedir/latest/#variables
|
||||
[3 Environment Variables]: https://specifications.freedesktop.org/basedir/latest/#variables
|
||||
*/
|
||||
XDGEnv string
|
||||
)
|
||||
Reference in New Issue
Block a user