diff options
author | nicm <nicm> | 2020-03-31 17:14:40 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-03-31 17:14:40 +0000 |
commit | cc8b41f294974cdfb1ddfe3b907da58374ff130f (patch) | |
tree | 32855ba0999368039d3d7d40ecbbec3c096c50f9 /tmux.c | |
parent | e6cddcf752b335cb945bba4619b500b527cfee0a (diff) | |
download | rtmux-cc8b41f294974cdfb1ddfe3b907da58374ff130f.tar.gz rtmux-cc8b41f294974cdfb1ddfe3b907da58374ff130f.tar.bz2 rtmux-cc8b41f294974cdfb1ddfe3b907da58374ff130f.zip |
Add a way to mark environment variables as "hidden" so they can be used
by tmux but are not passed into the environment of new panes.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -332,9 +332,9 @@ main(int argc, char **argv) global_environ = environ_create(); for (var = environ; *var != NULL; var++) - environ_put(global_environ, *var); + environ_put(global_environ, *var, 0); if ((cwd = find_cwd()) != NULL) - environ_set(global_environ, "PWD", "%s", cwd); + environ_set(global_environ, "PWD", 0, "%s", cwd); global_options = options_create(NULL); global_s_options = options_create(NULL); |