diff --git a/dot_config/fish/private_config.fish.tmpl b/dot_config/fish/private_config.fish.tmpl index c61e2ac..a92082f 100644 --- a/dot_config/fish/private_config.fish.tmpl +++ b/dot_config/fish/private_config.fish.tmpl @@ -42,6 +42,7 @@ set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/mise/installs/python/ set -gx PIP_REQUIRE_VIRTUALENV true set -gx MISE_PYTHON_VENV_AUTO_CREATE true +set -gx ITERM_ENABLE_SHELL_INTEGRATION_WITH_TMUX YES test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish set -gx EDITOR nvim diff --git a/dot_config/tmux/tmux.conf.tmpl b/dot_config/tmux/tmux.conf.tmpl index 4a37bc6..a103c19 100644 --- a/dot_config/tmux/tmux.conf.tmpl +++ b/dot_config/tmux/tmux.conf.tmpl @@ -86,3 +86,8 @@ setw -g window-status-bell-style 'fg=black bg=yellow bold' # messages set -g message-style 'fg=black bg=white bold' + +# https://gitlab.com/gnachman/iterm2/-/wikis/tmux-Integration-Best-Practices#i-want-to-see-tmux-window-titles-as-tabwindow-titles-in-iterm2 +set-option -g set-titles on +set-option -g set-titles-string '#T' + diff --git a/private_dot_ssh/config.tmpl b/private_dot_ssh/config.tmpl index 5e9c8cd..0dde9b9 100644 --- a/private_dot_ssh/config.tmpl +++ b/private_dot_ssh/config.tmpl @@ -8,17 +8,6 @@ Host ubuntu ControlMaster auto ControlPath ~/.ssh/control-%C ControlPersist 4h - RequestTTY yes - RemoteCommand tmux -CC new -A -s tmssh - -Host ubuntu-no-tmux - Hostname 192.168.0.6 - User gaugendre - ForwardAgent yes - ControlMaster auto - ControlPath ~/.ssh/control-%C - ControlPersist 4h - RequestTTY yes Host hass Hostname 192.168.0.9