Showing posts with label tmux. Show all posts
Showing posts with label tmux. Show all posts

Sunday, January 13, 2013

.bashrc not load when start new session with tmux



One day, I installed some framework and it modified my .bash_profile file and alsol I don't know tmux correspond to that. My problem is when I create new session the directory link it's not color even before

it have color. So I guess it's problem .bashrc it doesn't load when I create new session in tmux.

But now I found the solution how to solve it like this:

First go to you home directory i.e : ~/user

At the end of your .bash_profile file, put this . ~/.bashrc

Close that file and type this command source .bashrc then try to create new session in tmux again.

Saturday, October 6, 2012

Control + Left and Control + Right to skip words in terminal



In terminal's ubuntu 12.04  , I'm use to Control + Left and Control + Righ to skip words
but after i installed  tmux v1.6 and go to tmux mode I can not use that key.
So for solve this problem, I just edit my .tmxu.conf (in home directory) by add script below.

set-window-option -g xterm-keys on

 save it  and refresh tmux again. Now it work!