Skip to content

leviFrosty/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Prerequisites

Get dotfiles setup on another machine:

alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
git clone --bare https://github.com/leviFrosty/dotfiles.git $HOME/.dotfiles
dotfiles config --local status.showUntrackedFiles no
dotfiles checkout
brew bundle --file=~/Brewfile
source ~/.zshrc

Aside: how to open Lazygit in dotfiles bare git repo

lazygit --git-dir=$HOME/.dotfiles --work-tree=$HOME

If some of the dotfiles are already present, you will see errors.

error: The following untracked working tree files would be overwritten by checkout:
 .bashrc
Please move or remove them before you switch branches.
Aborting

Remove or backup any collisions and repeat the checkout

mv ~/.zshrc ~/.zshrc_backup
dotfiles checkout

Add new files to dotfiles

dotfiles add ~/.config/aerospace/**
dotfiles push

Syncing from other machine

dotfiles pull

Dump brew bundle into a file

brew bundle dump --describe --file=~/Brewfile --force

Install brew bundle

brew bundle --file=~/Brewfile

Install Sketchybar from FelixKratz (No longer used)

Due to visual conflicts with the native MacOS menu bar, I removed Sketchybar. I have the MacOS menu bar set to autohide.

Source

curl -L https://raw.githubusercontent.com/FelixKratz/dotfiles/master/install_sketchybar.sh | sh

About

My MacOS specific dotfiles & configs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •