add TMUX_SESSION_NAME inheriting over ssh

This commit is contained in:
Jana Dönszelmann 2026-03-16 13:29:50 +01:00
parent 391b47fa75
commit bdaefa4d5c
No known key found for this signature in database
6 changed files with 22 additions and 38 deletions

View file

@ -39,8 +39,6 @@ inputs@{ machine, ... }:
# unbind every single normal keybinding
unbind-key -a
set -g status-left "#{?client_prefix,#[bg=colour2],#[bg=colour1]}#[fg=colour0] #S "
# for special characters to work right
# like <C-_>
# set-window-option -g xterm-keys on
@ -60,6 +58,7 @@ inputs@{ machine, ... }:
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel
bind v copy-mode
bind p paste-buffer -p
bind d detach
set -s set-clipboard on
# get back normal terminal emulator bindings
@ -164,8 +163,6 @@ inputs@{ machine, ... }:
bind-key [ copy-mode \; send-keys [
bind-key ] copy-mode \; send-keys ]
bind d select-pane -l \; send-keys [
# f: file search
# unbound: git files
# g: git hashes