Page 5 of 5

tmux basic usage Feb 19 2018

After editing your config file (probably ~/.tmux.conf) you don’t need to kill your tmux server and reload it, you can just go to tmux command mode and source your configfile:

1
<C-b>:source-file ~/.tmux

When you open use vim on tmux you might lose your colours that is because the term that tmux uses is screen and you might be using xterm, you can fix that by:

Adding to your alias(on your .bashrc .bash_profile or where every your alias are located):

Read More...

Using rbenv for multiple projects Feb 15 2018

I prefer to keep all my gems separated by project so I use rbenv-gemset you might want to do that too.

If you want to use a specific ruby version on a project do the following:

1
2
cd project
rbenv install 2.4.1 # you can pick any version `rbenv install -l`

then use that specif ruby-version on the project

1
rbenv local 2.4.1

This will create a .ruby-version file that contains the version you are using, to verify that you can check the version running:

Read More...

Installing docker-toolbox on mac OSX Jan 11 2018

If you use iTerm you’ll probably need to change the file:

/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/iterm.scpt

Following the code in this gist

Install bash_completion from mac ports or using homebrew Here I’ll show the autocomplete files you need to add to your autocomplete.d directory (check where ports or brew installed your autocomplete.d)

Problem installing docker in VM: https://github.com/moby/moby/issues/15990 Read More...

$