Macの初期設定
基本設定
- ディスプレイ
- 擬似解像度を最大に変更
- ライブ変換を無効にする
- アクセシビリティ > ポインタコントロール > トラックパッドオプション > 3本指でドラッグを有効にする
- システム環境設定 > トラックパッド
- ポイントとクリック
- 調べる&データ検出を無効にする
- タップでクリックを有効にする
- 軌跡の速度を速めにする (右から三番目くらい)
- スクロールとズーム
- 全部チェックを入れる
- その他のジェスチャ
- 全部チェックを入れる
- ポイントとクリック
- システム環境設定 > キーボード
- スクロールバークリックした場所へジャンプ
- システム環境設定 > 一般
- F1、F2などのキーを標準のファンクションキーとして使用を有効にする
- Dockとメニューバー
- Finder
- 環境設定
- 新規Finderウィンドウでユーザーフォルダを表示
- サイドバーに表示する項目を好みに
- すべてのファイル名拡張子を表示を有効
- 拡張子を変更する前に警告を表示を無効
- 検索実行時、現在のフォルダ内を検索
- 表示
- タブバーを表示
- ステータスバーを表示
- 表示オプション > ライブラリフォルダを表示
- 環境設定
- インストール
- ESET Cyber Security Pro
- iterm2
- Google Chrome
- Google Drive
- XCode
- Visual Studio Code
- Jetbrains ToolBox
- Unity Hub
- Cocos Dashboard
- SourceTree
- Biscuit
- brew
シェル設定
vi ~/bin/ssh-iterm-setting
#!/bin/zsh # ~/bin/ssh-iterm-setting set_color() { local HEX_BG=$1 local OPACITY=$2 local BG_R=`echo $HEX_BG | sed 's/../0x&,/g' | awk -F "," '{printf("%d",$1 * 257)}'` local BG_G=`echo $HEX_BG | sed 's/../0x&,/g' | awk -F "," '{printf("%d",$2 * 257)}'` local BG_B=`echo $HEX_BG | sed 's/../0x&,/g' | awk -F "," '{printf("%d",$3 * 257)}'` /usr/bin/osascript <<EOF tell application "iTerm" tell current session of first window set background color to {$BG_R, $BG_G, $BG_B} set transparency to "$OPACITY" end tell end tell EOF } # 接続host名で振り分け if [[ "$@" =~ stg ]]; then # 色・透明度設定 set_color 330000 0.2 elif [[ "$@" =~ prod ]]; then set_color 333300 0.2 elif [[ "$@" =~ dev ]]; then set_color 000033 0.2 fi ssh $@ set_color 000000 0.2
vi ~/bin/vagrant-iterm-setting
#!/bin/zsh # ~/bin/ssh-iterm-setting set_color() { local HEX_BG=$1 local OPACITY=$2 local BG_R=`echo $HEX_BG | sed 's/../0x&,/g' | awk -F "," '{printf("%d",$1 * 257)}'` local BG_G=`echo $HEX_BG | sed 's/../0x&,/g' | awk -F "," '{printf("%d",$2 * 257)}'` local BG_B=`echo $HEX_BG | sed 's/../0x&,/g' | awk -F "," '{printf("%d",$3 * 257)}'` /usr/bin/osascript <<EOF tell application "iTerm" tell current session of first window set background color to {$BG_R, $BG_G, $BG_B} set transparency to "$OPACITY" end tell end tell EOF } if [[ "$@" =~ ssh ]]; then # 色・透明度設定 set_color 003300 0.2 fi vagrant $@ set_color 000000 0.2
vi ~/.bashrc
alias ssh="~/bin/ssh-iterm-setting" alias vagrant="~/bin/vagrant-iterm-setting"
vi ~/.bash_profile
source ~/.bashrc
権限設定
$ chmod 755 ~/bin/ssh-iterm-setting $ chmod 755 ~/bin/vagrant-iterm-setting