Infrastructure and commands to manage the environment for processes started
within tmux.

There is a global environment, copied from the external environment when the
server is started and each sesssion has an (initially empty) session
environment which overrides it.

New commands set-environment and show-environment manipulate or display the
environments.

A new session option, update-environment, is a space-separated list of
variables which are updated from the external environment into the session
environment every time a new session is created - the default is DISPLAY.
19 files changed
tree: 615959fa3459ad20491f0fedcfcce5a2940d0186
  1. Makefile
  2. array.h
  3. attributes.c
  4. buffer-poll.c
  5. buffer.c
  6. cfg.c
  7. client-fn.c
  8. client.c
  9. clock.c
  10. cmd-attach-session.c
  11. cmd-bind-key.c
  12. cmd-break-pane.c
  13. cmd-choose-session.c
  14. cmd-choose-window.c
  15. cmd-clear-history.c
  16. cmd-clock-mode.c
  17. cmd-command-prompt.c
  18. cmd-confirm-before.c
  19. cmd-copy-buffer.c
  20. cmd-copy-mode.c
  21. cmd-delete-buffer.c
  22. cmd-detach-client.c
  23. cmd-display-message.c
  24. cmd-down-pane.c
  25. cmd-find-window.c
  26. cmd-generic.c
  27. cmd-has-session.c
  28. cmd-if-shell.c
  29. cmd-kill-pane.c
  30. cmd-kill-server.c
  31. cmd-kill-session.c
  32. cmd-kill-window.c
  33. cmd-last-window.c
  34. cmd-link-window.c
  35. cmd-list-buffers.c
  36. cmd-list-clients.c
  37. cmd-list-commands.c
  38. cmd-list-keys.c
  39. cmd-list-sessions.c
  40. cmd-list-windows.c
  41. cmd-list.c
  42. cmd-load-buffer.c
  43. cmd-lock-server.c
  44. cmd-move-window.c
  45. cmd-new-session.c
  46. cmd-new-window.c
  47. cmd-next-layout.c
  48. cmd-next-window.c
  49. cmd-paste-buffer.c
  50. cmd-previous-layout.c
  51. cmd-previous-window.c
  52. cmd-refresh-client.c
  53. cmd-rename-session.c
  54. cmd-rename-window.c
  55. cmd-resize-pane.c
  56. cmd-respawn-window.c
  57. cmd-rotate-window.c
  58. cmd-save-buffer.c
  59. cmd-scroll-mode.c
  60. cmd-select-layout.c
  61. cmd-select-pane.c
  62. cmd-select-prompt.c
  63. cmd-select-window.c
  64. cmd-send-keys.c
  65. cmd-send-prefix.c
  66. cmd-server-info.c
  67. cmd-set-buffer.c
  68. cmd-set-environment.c
  69. cmd-set-option.c
  70. cmd-set-password.c
  71. cmd-set-window-option.c
  72. cmd-show-buffer.c
  73. cmd-show-environment.c
  74. cmd-show-options.c
  75. cmd-show-window-options.c
  76. cmd-source-file.c
  77. cmd-split-window.c
  78. cmd-start-server.c
  79. cmd-string.c
  80. cmd-suspend-client.c
  81. cmd-swap-pane.c
  82. cmd-swap-window.c
  83. cmd-switch-client.c
  84. cmd-unbind-key.c
  85. cmd-unlink-window.c
  86. cmd-up-pane.c
  87. cmd.c
  88. colour.c
  89. environ.c
  90. grid-view.c
  91. grid.c
  92. input-keys.c
  93. input.c
  94. key-bindings.c
  95. key-string.c
  96. layout-set.c
  97. layout.c
  98. log.c
  99. mode-key.c
  100. names.c
  101. options-cmd.c
  102. options.c
  103. paste.c
  104. procname.c
  105. resize.c
  106. screen-redraw.c
  107. screen-write.c
  108. screen.c
  109. server-fn.c
  110. server-msg.c
  111. server.c
  112. session.c
  113. status.c
  114. tmux.1
  115. tmux.c
  116. tmux.h
  117. tty-keys.c
  118. tty-term.c
  119. tty.c
  120. utf8.c
  121. window-choose.c
  122. window-clock.c
  123. window-copy.c
  124. window-more.c
  125. window-scroll.c
  126. window.c
  127. xmalloc.c