Skip to content

yukin01/dotfiles

Repository files navigation

Dotfiles

My environment for MacOS and Ubuntu

MacOS

Xcode

Install Xcode from App Store and launch once.

or

$ xcode-select --install

Installation

Clone this repo and make symlinks for dotfiles.

$ bash -c "$(curl -fsSL dot.yukin01.dev)"

SSH

Generate SSH key pair.

$ ./scripts/01-setup-ssh.sh

Git

Configure git remote repo.

$ ./scripts/02-setup-git.sh

Homebrew

Install Homebrew and packages.

$ ./scripts/03-setup-homebrew.sh

For kubectl, don't enable Docker for Mac's k8s option before installing Minikube.

Tools

$ ./mac/04-setup-asdf.sh
$ ./mac/05-setup-tools.sh

Zsh

$ sudo vi /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
/usr/local/bin/zsh # Add this

$ chsh -s /usr/local/bin/zsh

iTerm2

Manual

  • Login shell
  • Keyboard Settings
    • Google Japanese IME
    • Disable smart quotes and auto correction
    • Swap CapsLock and Ctrl
  • VSCode Settings Sync
  • Google Chrome login

Ubuntu

Deprecated

Clone this repo.

$ bash -c "$(curl -fsSL dot.yukin01.dev)"

Install Powerline Fonts.

$ ./fonts/install.sh

Configure SSH key pair.

$ ./ssh.sh

Install ansible.

$ ./ansible/install.sh

Run ansible playbook.

$ ansible-playbook -i hosts ubuntu.yml --ask-become-pass

Suggestion

  • fish

References