-
Notifications
You must be signed in to change notification settings - Fork 234
How to use tmux with custom a tmux.conf file location when using tmuxp?
#736
-
How can I run tmux with a custom config file location via tmuxp?
Why? There are usecases for running tmux with a nonstandard tmux config file or for simply wanting/needing to store the tmux config file is just in a different location than default.
Typically it is located at: ~/.tmux.conf but you might want to store it in ~/dotfiles/tmux.conf instead. To do this you use the tmux -f [path-to-conf-file] but it wasn't immediately obvious how to do this with tmuxp.
Beta Was this translation helpful? Give feedback.
All reactions
Turns out it has been possible since early 2021 with a pass through flag when using tmuxp for example:
tmuxp load ~/projects/project-a -f ~/dotfiles/tmux.conf
See this PR thread comment for more detail
Replies: 1 comment
-
Turns out it has been possible since early 2021 with a pass through flag when using tmuxp for example:
tmuxp load ~/projects/project-a -f ~/dotfiles/tmux.conf
See this PR thread comment for more detail
Beta Was this translation helpful? Give feedback.