Fireship · @fireship

~/.dotfiles in 100 Seconds

Uploaded February 1, 2021 · Length 13:54

~/.dotfiles in 100 Seconds

Summary

Learn how to set up a dot files repository to automate your development environment configuration and improve productivity.

  • dot files repository
  • development environment automation
  • productivity
  • dot files setup
  • customization

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    dot files set up or restore a fully

  2. 0:03

    customized development environment by

  3. 0:05

    maintaining a repository of text-based

  4. 0:07

    config files

  5. 0:08

    as developers were trained to write dry

  6. 0:10

    code do not repeat yourself

  7. 0:12

    but this principle also applies to other

  8. 0:14

    areas of a developer's life like the

  9. 0:16

    configuration of a development

  10. 0:17

    environment

  11. 0:18

    imagine this you spent months fine

  12. 0:20

    tuning your top of the line intel mac

  13. 0:22

    but now need to throw it in the garbage

  14. 0:24

    because the new mac mini with an m1 chip

  15. 0:26

    will blow it out of the water are you

  16. 0:27

    going to reinstall and reconfigure

  17. 0:29

    everything from scratch

  18. 0:30

    hopefully not dot files are those little

  19. 0:33

    hidden files on your system that start

  20. 0:35

    with a period

  21. 0:35

    like bashprofile.env or git config

  22. 0:39

    just to name a few with a repository of

  23. 0:41

    these files you can chronicle the

  24. 0:43

    installation of your favorite

  25. 0:44

    applications and command line tools

  26. 0:46

    keep track of how all that software is

  27. 0:48

    configured and record all the various

  28. 0:49

    system preferences

  29. 0:50

    and changes that you've made to your

  30. 0:52

    computer these files already live on

  31. 0:54

    your system and when you harness their

  32. 0:55

    power you can replicate your perfect

  33. 0:57

    development

  34. 0:58

    environment on a new computer in a

  35. 0:59

    completely hands-off and automated way

  36. 1:02

    to get started you'll want to organize

  37. 1:04

    all of your configuration files in a git

  38. 1:06

    repository

  39. 1:06

    that will allow you to track changes and

  40. 1:08

    clone the repo on other machines

  41. 1:11

    its code will contain at least one

  42. 1:12

    script that applies or installs the

  43. 1:14

    configurations on a new system

  44. 1:16

    and that means weeks of hard manual

  45. 1:18

    labor can be reduced down to a git clone

  46. 1:20

    followed by an install script

  47. 1:22

    maintaining your own dot files repo will

  48. 1:24

    help you develop discipline for other

  49. 1:26

    important skills

  50. 1:27

    from command line use to get to the

  51. 1:29

    organization

  52. 1:30

    and inner workings of your machine wax

  53. 1:32

    on

  54. 1:33

    wax off read if you're ready to learn

  55. 1:36

    more and build your own dot files repo

  56. 1:38

    stay tuned today we're going

  57. 1:40

    beyond 100 seconds with special guest

  58. 1:42

    patrick mcdonald he's the instructor of

  59. 1:44

    a full dot files course

  60. 1:45

    and will teach you how to set up your

  61. 1:47

    own dot files repo step by step

  62. 1:49

    taking your developer productivity to

  63. 1:50

    the next level youtube

  64. 1:52

    meet patrick over the last 20 plus years

  65. 1:56

    i've set up enough computers to have

  66. 1:58

    acquired an appreciation of automating