Make sure config file is always sourced at startup #4502
Replies: 2 comments
-
If you want the config file to be sourced again you need to start a different server with You may be better to change it based on
|
Beta Was this translation helpful? Give feedback.
-
Nice thanks. I didn't know that and it seems to work as expected. But a question remains. Is it possible to achieve the same effect with an variable environment variable. For example, image that a The definition:
Will not work, right?! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have different colors to be used in tmux depending if a variable is defined or not.
A typical use case is when I start tmux in linux console and another one at X environment. For example, I have the following line at
~/.tmux.conf
:However, I noticed that the line is only executed at the first time the
tmux
command is launched. The second timetmux
is launched, the config file is not sourced (?), thus the colors are not correctly set.How can I make sure that the config file is always sourced?
Beta Was this translation helpful? Give feedback.
All reactions