Skip to content

AnneMatilde/dotfiles

Repository files navigation

Anne Matilde's Dotfiles

This is a fork of cobraz/dotfiles.

Setting up a new machine

With a new machine, you first have to install Homebrew and setup your SSH key. You can do that with this command:

▶ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Next you need to clone this repository to your $HOME folder. Best practice is to use YADM (a tool for managing dotfiles).

That is easily installed with brew, as such:

▶ brew install yadm

Then you need to clone this repository. You can read how to get started with YADM under basics -> Getting started.

Or, just type this in your terminal:

▶ yadm clone [email protected]:AnneMatilde/dotfiles.git

You should have all your files located in $HOME at this point. All you have to do now is bootstrap! 🎉

▶ ./bootstrap.sh

To install the Mac OS defaults, run this command:

▶ ./.macos

Append Brew packages

Step one is to find the package (software) you'd like to install and append to the Dotfiles. You can search here: https://formulae.brew.sh/cask/

Next you should install that package on your current machine, like this:

brew install --cask spotify

To make sure you remember which packages you use, Open up brew.sh, e.g. with VSCode as such:

▶ code ~/brew.sh

Append the link found on Brew Formulae to the list with # Tooling heading. We use a Brewfile, so the entries in this files look like this:

brew "spotify"

Update your dotfiles

Check which files have been changed with:

▶ yadm status

If there is any changes, run these commands:

▶ yadm commit -a -m "<your description">
▶ yadm push

Releases

No releases published

Packages

No packages published