Skip to content

raywhite/dotfiles_macos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Dotfiles

This is a collection of dotfiles for bootstrapping a macos. I use a chezmoi to manage them.

Applications

  • SHELL: fish with starship, and fisher plugin manager
  • IDE: Neovim with Neovide, and Visual Studio Code
  • Font: JetBrains Mono Nerd Font
  • Terminal: ghostty
  • Password manager: 1password and 1password_cli
  • Browser: Zen and Google Chrome

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install fish and set fish as default shell:

brew install fish

echo "/opt/homebrew/bin/fish" | sudo tee -a /etc/shells
chsh -s /opt/homebrew/bin/fish

Install chezmoi with Homebrew:

brew install chezmoi

chezmoi setup

Initialize chezmoi with dotfiles from this repository:

chezmoi init https://github.com/raywhite/dotfiles_macos.git

Sync dotfiles with chezmoi:

chezmoi apply -v

Install Apps with Homebrew

Install all apps from the Brewfile, located in private_dot_config/brewflie/Brewfile.

brew bundle --file="~/.local/share/chezmoi/private_dot_config/brewflie/Brewfile"

fish

Install plugins

Install the fisher plugin manager:

curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher

Install fzf plugin

fisher install patrickf1/fzf.fish

Install eza plugin

fisher install plttn/fish-eza

Create completition files

Parse manual pages installed on the system and attempt to create completion files in the fish configuration directory with the following command:

fish_update_completions

chezmoi commands

chezmoi apply

Check what changes will be applied:

chezmoi diff

Apply changes:

chezmoi apply -v

chezmoi edit

chezmoi edit $FILE

chezmoi merge

chezmoi merge $FILE

chezmoi update

chezmoi update -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published