DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Write your own Dotfiles
Helder B. Berto
Helder B. Berto

Posted on • Updated on • Originally published at helderburato.com

Write your own Dotfiles

Originally posted on helderburato

Some time ago I need to format my Mac twice times in the same week and it's was very painful to configure all the things.

I saw an opportunity to write my own dotfiles that can help me a lot when I need to change from a computer to another.

Package Managers

Photo by Elevate
Photo from Unsplash by Elevate

Mac Setup

I recommend the Mathias Bynens .macos file this helped me a lot to create my own .macos configurations.

Thanks to Mathias Bynens who shared these awesome configurations.

Start Point

Photo by Joanna Kosinska
Photo from Unsplash by Joanna Kosinska

My dotfiles execute as a simple call-in install.sh.

I followed in this project the principle of maintaining easy and simple to execute.

When I started to automate my build process and saw the other dotfiles from people I was thinking of creating a lot of files, harder automation formats, but I percept it can be easier if I follow the principle of KISS - Keep it simple and stupid.

The Project

Photo by Rene BΓΆhmer
Photo from Unsplash by Rene BΓΆhmer

However, if you want to see my dotfiles and give some feedback I'm opened to discuss and share the knowledge I gained in this project.

Note: You will note it's more focused on frontend development because that is my focus now.

Wrapping Up

This is was a quick post just to share my experience when I wrote my own dotfiles and how it can help you too.

Feel free to share your own experiences and if you already have dotfiles, please share in the comments it will be nice to see what you have been automated.

References

Top comments (4)

Collapse
 
michaelcurrin profile image
Michael Currin

Thanks for sharing, I'll check those out.

I've shared my dotfiles in a post series and a GH repo and linked back to this post too :)

dev.to/michaelcurrin/dotfiles-to-m...

Collapse
 
helderberto profile image
Helder B. Berto Author

I really appreciate that, thanks for the linking back.

Collapse
 
alepop profile image
Aleksey • Edited on

Thanks for the post πŸ™πŸ» I've forked your .dotfiles as base for my own

Collapse
 
helderberto profile image
Helder B. Berto Author

Nice to know that!
Thanks for the feedback.

πŸŒ–πŸŒ—πŸŒ˜ Turn on dark mode in Settings