summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-06-04 02:11:16 +0000
committerbrian m. carlson <sandals@crustytoothpaste.net>2020-06-04 02:11:16 +0000
commitd9a49656b1fdf37a66237876fe522b45049c0ed7 (patch)
tree976679229f7f8f422556ed9866709bf24487296c
parent39cbaee13162d51ef4d1920172473862d8a20f93 (diff)
tmux: pass VAULT_TOKEN through the environment
It's easier to access Vault once outside of tmux and pass the token through to all child processes at once. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
-rw-r--r--tmux/tmux.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index aa829a5..21f224a 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -10,7 +10,7 @@ set -ag terminal-overrides ",xterm-256color:Tc"
set -g history-limit 10000000
set -g set-clipboard off
set -g allow-rename on
-set -g update-environment "DBUS_SESSION_BUS_ADDRESS DISPLAY SESSION_MANAGER SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
+set -g update-environment "DBUS_SESSION_BUS_ADDRESS DISPLAY SESSION_MANAGER SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION VAULT_TOKEN WINDOWID XAUTHORITY"
set -g default-terminal screen-256color
# keys
unbind-key j