Page 5 of 5
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...
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
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...
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)
- autocomplete for docker:
- go to this URL: `https://raw.githubusercontent.com/docker/cli/master/contrib/completion/bash/docker`
- autocomplete for docker-composer:
- `https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose`
- autocomplete for docker-machine:
Problem installing docker in VM:
https://github.com/moby/moby/issues/15990
Read More...