My environment for MacOS and Ubuntu
Install Xcode from App Store and launch once.
or
$ xcode-select --install
Clone this repo and make symlinks for dotfiles.
$ bash -c "$(curl -fsSL dot.yukin01.dev)"
Generate SSH key pair.
$ ./scripts/01-setup-ssh.sh
Configure git remote repo.
$ ./scripts/02-setup-git.sh
Install Homebrew and packages.
$ ./scripts/03-setup-homebrew.sh
For kubectl
, don't enable Docker for Mac's k8s option before installing Minikube.
$ ./mac/04-setup-asdf.sh
$ ./mac/05-setup-tools.sh
$ 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
- color theme: Dracula
- font: HackGen35Nerd Console
- Login shell
- Keyboard Settings
- Google Japanese IME
- Disable smart quotes and auto correction
- Swap CapsLock and Ctrl
- VSCode Settings Sync
- Google Chrome login
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
- fish
- Generating a new SSH key and adding it to the ssh-agent
- お前らのSSH Keysの作り方は間違っている
- ログインシェルとインタラクティブシェルと~/.bashrc達の関係
- zshの設定ファイルの読み込み順序と使い方Tipsまとめ
- DockerのVolumeマウントのオーナーとfixuidとeuid
- 優れた dotfiles を設計して、最速で環境構築する話
- なぜ今シェルスクリプトを学ぶのか・シェルスクリプトのTips
- dotfilesリポジトリで管理したgitconfigはHOMEではなくXDG_CONFIG_HOME配下に置くとよい
- dotfilesのこだわりを晒す