Glam Prestige Journal

Bright entertainment trends with youth appeal.

Trying to transition to tmux (version 1.6) on OS X 10.7 (so I'm sure I am making a noob mistake) and having problems with the simplest of commands. In my ~/.tmux.conf I have to map the prefix to Ctrl-a rather than :

set -g prefix C-a

but when I:

Wed Apr 10$ source ~/.tmux.conf │
-bash: set: -g: invalid option │
set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...] │
Wed Apr 10$ 

I get the invalid option error. Is this just a syntax issue or might there be some other conifguration issue? How would I fix this?

1 Answer

tmux.conf is the configuration file for tmux. You are not supposed to source it within your shell, but rather tell tmux to source it.

Any of the following should work:

  • run tmux source ~/.tmux.conf

  • run tmux set -g prefix C-a

  • press the old prefix (CtrlB), :source ~/.tmux.conf

  • press the old prefix (CtrlB), :set -g prefix C-a

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy