Skip to main content
Back to Commands
MiscellaneousOften bound to Prefix + r in configs

source-file

Short form: source

Execute commands from a file. This is typically used to reload the tmux configuration.

Synopsis

bash
tmux source-file [-Fnqv] path

Options

FlagDescription
-FExpand format sequences in path
-nReport errors but don't stop processing
-qQuiet mode - don't report errors
-vVerbose mode - show parsed commands

Examples

Reload tmux config

bash
tmux source-file ~/.tmux.conf

Short form

bash
tmux source ~/.tmux.conf

Default Keybinding

Often bound to Prefix + r in configs

Default prefix is Ctrl+b

Pro Tips

  • Add 'bind r source-file ~/.tmux.conf \; display "Reloaded!"' to your config
  • Changes to some options require a restart to take effect