Replies: 2 comments
-
|
How the environment works in tmux is described here: https://man.openbsd.org/OpenBSD-current/man1/tmux.1#GLOBAL_AND_SESSION_ENVIRONMENT |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This discussion has been automatically locked since there has not been any recent activity after it was closed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have Tmux auto-started and when I launch
fzf --tmuxit doesn't respectFZF_DEFAULT_OPTSeven thoughecho $FZF_DEFAULT_OPTSshow the intended values inside tmux. This applies to new sessions as well.If I start a new instance of Tmux with
tmux -L test, thenfzf --tmuxrespects$FZF_DEFAULT_OPTS.How to fix this? In my tmux.conf I have
set-option -g default-command "$SHELL"and I suppose that's responsible. I have this because.zprofilefor login shell has stuff that should only be run once on initialization and I don't want it running stuff for every panel that gets created. I could move definition of environment variables to .zshrc but I have good reasons to prefer .zprofile.Beta Was this translation helpful? Give feedback.
All reactions