Skip to content

berenar/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bernat's dotfiles, packages & config

This repository aims to make the setup of a new machine extremely easy. It contains everything needed to set it up:

  • Packages via Homebrew.
  • Dotfiles managed with stow.
  • System preferences for macOS via a simple shell script.

This set up was inspired by this blogpost.

Requirements

  • Homebrew for managing packages.
  • GNU Stow for managing the dotfile symlinks (this is included in the Brewfile).

Packages

This repository includes a Brewfile for managing packages using Homebrew. The casks list assumes you use macOS.

To install the packages listed, run the following command from the directory containing the Brewfile:

brew bundle

To regenerate the Brewfile with your currently installed packages:

brew bundle dump --force --no-restart --no-vscode

Dotfiles

Dotfiles are stored in the dotfiles/ subdirectory and managed with GNU Stow.

  • To add new dotfiles: move them into dotfiles/<app>/ matching the application name (e.g., .config/nvim/dotfiles/nvim/.config/nvim/).
  • To apply existing dotfiles: run the stow command to create symlinks in your home directory.
stow -d dotfiles -t ~ <application>

macOS Configuration

This repository includes a script to apply preferred macOS system settings.

To apply the settings:

bash scripts/macos-config.sh

About

My dotfiles for macos: zsh, brew, nvim, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published