初期設定
defaultsコマンドでおおよそ設定できる。
# ************************* # Finder系 # ************************* # パスバーを表示する defaults write com.apple.finder ShowPathbar -bool true # リスト表示をデフォルトに設定 defaults write com.apple.finder FXPreferredViewStyle -string "Nlst" # 全ての拡張子のファイルを表示する defaults write NSGlobalDomain AppleShowAllExtensions -bool true # USB やネットワークストレージに .DS_Store ファイルを作成しない defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true # Finder のタイトルバーにフルパスを表示する defaults write com.apple.finder _FXShowPosixPathInTitle -bool true # 名前で並べ替えを選択時にディレクトリを前に置くようにする defaults write com.apple.finder _FXSortFoldersFirst -bool true # 不可視ファイルを表示する # defaults write com.apple.finder AppleShowAllFiles YES # 検索時にデフォルトでカレントディレクトリを検索する defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" # 拡張子変更時の警告を無効化する defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false # クイックルックでテキストを選択可能にする defaults write com.apple.finder QLEnableTextSelection -bool true # ステータスバーを表示する defaults write com.apple.finder ShowStatusBar -bool true # タブバーを表示する defaults write com.apple.finder ShowTabView -bool true # スクリーンショットに日本語名が入らないように変更 defaults write com.apple.screencapture name Screenshot # 新規ウィンドウでデフォルト$HOMEを開く defaults write com.apple.finder NewWindowTarget PfHm # ************************* # Dock系 # ************************* # Dockからすべてのアプリを消す defaults write com.apple.dock persistent-apps -array ## 最近起動したアプリを非表示 defaults write com.apple.dock show-recents -bool false # ************************* # Mission Control系 # ************************* # 最新の使用状況に基づいて操作スペースを自動的に並べ替えるを無効 defaults write com.apple.dock mru-spaces -bool false defaults write com.apple.dock show-recents -bool false # ************************* # Screenshot系 # ************************* # 画像の影を無効化 defaults write com.apple.screencapture "disable-shadow" -bool "true" # ************************* # その他 # ************************* # 長押しで同じ文字連打できるようにする defaults write -g ApplePressAndHoldEnabled -bool false
killall Finder Dock SystemUIServer
インストール
# Rosetta 2インストール sudo softwareupdate --install-rosetta brew install git # cask系 brew install iterm2 brew install google-chrome brew install coteditor brew install visual-studio-code brew install karabiner-elements brew install discord brew install iina brew install orbstack brew install the-unarchiver brew install balenaetcher