Skip to content
/ dotfiles Public

macOS: Homebrew + iTerm + VS Code + zsh

Notifications You must be signed in to change notification settings

sdvim/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick install of dotfiles and scripts

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

Using dotfiles

Setup

git init --bare $HOME/.dotfiles.git
alias dotfiles='git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME'
dotfiles config status.showUntrackedFiles no
dotfiles remote add origin git@github.com:sdvim/dotfiles.git

Load

git clone --separate-git-dir=$HOME/.dotfiles.git https://github.com/sdvim/dotfiles.git dotfiles-setup
rsync --recursive --verbose --exclude '.git' dotfiles-setup/ $HOME/
rm -r dotfiles-setup

Usage example

dotfiles status
dotfiles add .gitconfig
dotfiles commit -m 'Add gitconfig'
dotfiles push

via A simpler way to manage your dotfiles

About

macOS: Homebrew + iTerm + VS Code + zsh

Topics

Resources

Stars

Watchers

Forks