diff options
author | Minijackson <minijackson@riseup.net> | 2023-03-14 13:50:51 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2023-03-14 13:51:54 +0100 |
commit | 63079fa9f65b439ddf6eefb2b0bb552bd8d4d729 (patch) | |
tree | f71559739f2dc4bfb8ff2465905773ed26ab1991 /common/commandline | |
parent | 69020039281e1500a58b05e90cf71c7314b6c692 (diff) | |
download | nixos-config-reborn-63079fa9f65b439ddf6eefb2b0bb552bd8d4d729.tar.gz nixos-config-reborn-63079fa9f65b439ddf6eefb2b0bb552bd8d4d729.zip |
tmux: update some env variables when creating / attaching sessions
Diffstat (limited to 'common/commandline')
-rw-r--r-- | common/commandline/tmux.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/commandline/tmux.nix b/common/commandline/tmux.nix index 72c918c..ccb6ad0 100644 --- a/common/commandline/tmux.nix +++ b/common/commandline/tmux.nix | |||
@@ -61,6 +61,9 @@ in { | |||
61 | bind % split-window -h -c "#{pane_current_path}" | 61 | bind % split-window -h -c "#{pane_current_path}" |
62 | bind '"' split-window -v -c "#{pane_current_path}" | 62 | bind '"' split-window -v -c "#{pane_current_path}" |
63 | 63 | ||
64 | # Update these environment variables when creating or attaching to a session | ||
65 | set-option -g update-environment "SSH_AUTH_SOCK WINDOWID SSH_CONNECTION DISPLAY SWAYSOCK" | ||
66 | |||
64 | # Colorscheme | 67 | # Colorscheme |
65 | set-option -g status-style 'fg=${colors.dimForeground}, bg=${colors.background}' | 68 | set-option -g status-style 'fg=${colors.dimForeground}, bg=${colors.background}' |
66 | 69 | ||