Skip to content

yoskeoka/dotfiles

Repository files navigation

dotfiles

0. Prerequisites

macOS

Install XCode Command-Line Tools.

xcode-select --install

Generate SSH Key and add it to GitHub.

Linux (WSL)

Ensure build tools and curl/git are available.

sudo apt-get update -y
sudo apt-get install -y build-essential ca-certificates curl git

1. Git Clone

Clone this repository into ~/dotfiles

git clone https://github.com/yoskeoka/dotfiles.git ~/dotfiles

2. Deploy dotfiles

# Do not override existing dotfiles
bash ~/dotfiles/setup.sh deploy

# Force override existing dotfiles
bash ~/dotfiles/setup.sh -f deploy

3. Install

bash ~/dotfiles/setup.sh initialize

4. Configure Git user emails

This dotfiles setup expects the following include files referenced from ~/.gitconfig.

  • ~/.gitconfig.user (private GitHub account)
  • ~/.gitconfig.mf-user (work account for github.com/moneyforward)

Create them like this:

cat > ~/.gitconfig.user <<'EOF'
[user]
  name = your.name
  email = your.private@example.com
EOF

cat > ~/.gitconfig.mf-user <<'EOF'
[user]
  name = your.name
  email = your.work@moneyforward
EOF

5. Install Fonts

Powerline Fonts

6. Update dotfiles

brew bundle dump -f

About

dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors