Saturday, September 19, 2015

Adding new machine to rc files sync

Some time ago I wrote a post on linux productivity tools I use.
As from time to time I need to install new machine that would benefit from the synced rc files, I’ll document the steps required (as rediscovering it every time is rather a waste of time).

What I’d need

I’ll use the previously introduced:
* oh-my-zsh
* homeshick
* vim’s vundle plugin and
* tmux with tmuxinator
* powerline fonts

Please note: order is important here, otherwise some install steps might fail.


Install via:

sh -c "$(curl -fsSL"


Install via:

git clone git:// $HOME/.homesick/repos/homeshick

Get existing dotfiles via:

cd $HOME/.homesick/repos
$HOME/.homesick/repos/homeshick/bin/homeshick clone <your git repo>

For me, as I use the private bitbucket repo, I just had to add the ssh keys generated to bitbucket first:

  1. generate ssh key via (following
  2. go to repo on bitbucket via web browser
  3. add generated key at: Settings -> Deployment keys

And run the

cd $HOME/.homesick/repos
$HOME/.homesick/repos/homeshick/bin/homeshick clone

Make sure to let homeshick symlink all the dotfiles from the repo (you might want to back up those to be overwritten). You’ll be prompted for symlinking stuff.

vim’s vundle plugin

As a prerequisite you’d need (g)vim installed (install instructions would be distro specific).

Install vundle plugin via:

git clone ~/.vim/bundle/Vundle.vim

Afterwards install all the vundle managed plugins via running in the vim:



Make sure to install tmux and ruby first (probably from the distro packages available).

gem install tmuxinator

if it’s to be installed globally, use:

sudo gem install tmuxinator

powerline fonts

Following the official instructions:

cd /tmp
mkdir ~/.fonts
mv PowerlineSymbols.otf ~/.fonts/
fc-cache -vf ~/.fonts/
mkdir -p ~/.config/fontconfig/conf.d/
mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/

after restart seems to work OK.

Done :)

No comments: