キーボード設定
システム環境設定から
- ライブ変換オフ
- キー速度最速
- CapsLocksキーでABCと切り替える
zshを便利にする
以下をまとめてコンソールに貼って実行
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
refs. https://github.com/sorin-ionescu/prezto
homebrew
softwareupdate --install-rosetta && xcode-select --install && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
コンソールに下のようなコマンドを実行しろと出るのでコンソールからコピペして実行
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/ishibashi/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
iterm2を見やすくする
icebergをダウンロード
curl -O https://raw.githubusercontent.com/Arc0re/Iceberg-iTerm2/master/iceberg.itermcolors
インポートしてからicebergを選択
iTerm >> Preferences >> Profiles >> Colors tab >> Color Presets..
iterm2 で新しいタブを開いた時にworking directoryを保存
iTerm > Preferences > Advanced Configuration > Reuse previous session's directory
よく使うツールをまとめてbrewでインストール
まとめてコンソールに貼る
brew install yarn asdf ag docker xcodegen cocoapods
coursier/formulas/coursier vips iTerm2 mysql karabiner-elements && brew install --cask sourcetree intellij-idea webstorm google-chrome docker 1password deepl sublime-text
brewでインストールしておくとbrew upgrade
でまとめてアップデートできて便利
グローバルのJDKはbrewで入れて、プロジェクト毎のjdkはasdfで管理
Scalaのインストール
cs setup && cs install scala3-compiler && cs install scala3-repl
途中でbad CPUというエラーが出たら
softwareupdate --install-rosetta
Dockerのインストールで失敗したら
Error: It seems there is already a Binary at '/opt/homebrew/share/zsh/site-functions/_docker'.
一度アンインストールしてから再度インストール
brew uninstall docker
brew install --cask docker