How can I start tmux
without allowing it to read any configuration files?
(I have a server with only one account, so I have to share many configuration files of many programs. This means, I cannot delete .tmux.conf
etc.)
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityHow can I start tmux
without allowing it to read any configuration files?
(I have a server with only one account, so I have to share many configuration files of many programs. This means, I cannot delete .tmux.conf
etc.)
The -f
option tells tmux
to use the specified configuration file instead of the default (/etc/tmux.conf
and ~/.tmux.conf
). You can point it at /dev/null
to skip configuration entirely:
tmux -f /dev/null
or use your own configuration:
tmux -f ~/.tmux.plhn.conf
This will only work when starting tmux
; if a tmux
server is already running, its configuration can’t be changed in this way.
tmux -L test -f /dev/null
Oct 19, 2021 at 20:43