Skip to content

Commit

Permalink
change the default value of start-tmux to isolated
Browse files Browse the repository at this point in the history
This makes tmux more transparent. Most importantly, it propagates all
environment variables from the parent rather than just those listed in
.tmux.conf under update-environment. It also propagates cgroups. See
#35 (comment)
  • Loading branch information
romkatv committed Oct 30, 2023
1 parent e2db419 commit 2154599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ function -z4h-cmd-init() {
if [[ -n $MC_TMPDIR ]]; then
start_tmux=(no)
else
# 'integrated', 'system', or 'command' <cmd> [arg]...
zstyle -a :z4h: start-tmux start_tmux || start_tmux=(integrated)
# 'integrated', 'isolated', 'system', or 'command' <cmd> [arg]...
zstyle -a :z4h: start-tmux start_tmux || start_tmux=(isolated)
if (( $#start_tmux == 1 )); then
case $start_tmux[1] in
integrated|isolated) install_tmux=1;;
Expand Down

0 comments on commit 2154599

Please sign in to comment.