mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-12-21 21:31:50 +01:00
improve iterm shell + tmux integration
This commit is contained in:
parent
fa7faa1315
commit
a2ac996025
3 changed files with 6 additions and 11 deletions
|
@ -42,6 +42,7 @@ set -gx PIPX_DEFAULT_PYTHON "/Users/gaugendre/.local/share/mise/installs/python/
|
||||||
set -gx PIP_REQUIRE_VIRTUALENV true
|
set -gx PIP_REQUIRE_VIRTUALENV true
|
||||||
set -gx MISE_PYTHON_VENV_AUTO_CREATE 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
|
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
|
||||||
|
|
||||||
set -gx EDITOR nvim
|
set -gx EDITOR nvim
|
||||||
|
|
|
@ -86,3 +86,8 @@ setw -g window-status-bell-style 'fg=black bg=yellow bold'
|
||||||
|
|
||||||
# messages
|
# messages
|
||||||
set -g message-style 'fg=black bg=white bold'
|
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'
|
||||||
|
|
||||||
|
|
|
@ -8,17 +8,6 @@ Host ubuntu
|
||||||
ControlMaster auto
|
ControlMaster auto
|
||||||
ControlPath ~/.ssh/control-%C
|
ControlPath ~/.ssh/control-%C
|
||||||
ControlPersist 4h
|
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
|
Host hass
|
||||||
Hostname 192.168.0.9
|
Hostname 192.168.0.9
|
||||||
|
|
Loading…
Reference in a new issue