Do you manage your dotfiles ?
When I started to develop using Javascript languages (AngularJS and NodeJS), the first step was to prepare the development environment in my Computer.
Of course I’ve tried several editors, but the nature of the project asks much more about a good text editor and console tools than a IDE (Integrated Development Environment). After some reasearch, I was convinced by my brother Frederico Benevides that “One size fits all” development environment is based on VIM + TMUX.
I couldn’t believe that VIM could be productive for develpoment! OMG!!! VIM!!??! - Take a look on the following video about VIM + TMUX and make your own conclusions. I’ll make a blog post about them in the future, so please, subscribe.
After customizing all my development environment I had a lot of files in my ~/.(home folder) and then I needed:
- Backup the environment
- Share the environment between my personal laptop and Red Hat’s laptop
- Learn from the community environments
- Share what I’ve learned with them.
To resolve such issue, my brother said that he created a Ruby project that contains all his ~/.(dotfiles) available. A quick look for the term “dotfiles” and I was able to find the following page: https://dotfiles.github.io/ - Your unofficial guide to dotfiles on GitHub. This page has a link to several repositories that contains dotfiles from their authors. Most of them have different scripts that automates the installation of their prefered tools on your (Linux or Mac) based computer.
Due to my recent incursion in the “DevOps” practices, I decided to create my own dotfiles project using Ansible playbooks to deploy and configure my ~/. environment.
Actually I keep configurations about:
and it supports
To give it a try,
- fork my dotfiles project,
- Clone it to your computer with
git clone https://github.com/YOUR_USER_NAME/dotfiles.git
- Install ansible
- Run
./bootstrap.sh
- Enjoy the new console and TMUX with VIM
- Customize it to match your needs
Take a look on the result:
ZSH + Oh-my-zsh + Agnoster theme
TMUX + VIM
I’ll cover more details about the installed environment in the next posts.
Leave a comment