Timeline for In zsh how can I list all the environment variables?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 30, 2016 at 9:15 | comment | added | Stéphane Chazelas |
See also typeset -p +H -m '*' to list all variables, including hidden ones.
|
|
| Sep 30, 2016 at 9:09 | comment | added | Stéphane Chazelas |
Some difference with env: env -i '$(reboot)=1' zsh -c export (compare with bash where you don't want to feed it back into the shell (fixed in 4.4)). And env -i zsh 'export foo; export'. See also zsh.org/mla/workers/2016/msg01840.html and the env -i zsh -c export bug in recent versions of zsh which I've just reported.
|
|
| Feb 3, 2012 at 23:27 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |