Skip to content

An attempt to automate my Mac and Linux setup installation a breeze on any new machine.

License

Notifications You must be signed in to change notification settings

Iamshady999/cricify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cricify

An attempt to automate my Mac and Linux setup installation a breeze on any new machine.

1. Set up SSH Keys on Github for your local machine

ssh-keygen -t ed25519 -C "ashiz2013@gmail.com"
  • Copy the public key from github.pub
pbcopy < ~/.ssh/github.pub

2. Repository setup on the Local Machine

  • Create a directory named dotfiles in the home directory and initialize it as a bare git directory
mkdir ~/dotfiles
cd ~/dotfiles
git init --bare
  • Create an alias for a git command for the dotfiles directory and ignore all files in the home directory
alias dotfiles='git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no
  • Connect the git directory to this remote directory
dotfiles remote add origin git@github.com:asheeshcric/cricify.git
dotfiles pull

3. Run the installation setup script

source ~/dotfiles/macOS/main.sh

About

An attempt to automate my Mac and Linux setup installation a breeze on any new machine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published