Skip to content

Commit

Permalink
Merge pull request #4 from nomutin/develop
Browse files Browse the repository at this point in the history
🐛 `init.sh`のエラーを修正
  • Loading branch information
nomutin authored Dec 30, 2023
2 parents 7f1726b + c3ad382 commit 7fe87ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sudo scutil --set HostName MBA

# 動きを高速化
defaults write -g com.apple.trackpad.scaling 3
defaults write -g com.apple.mouse.scaling
defaults write -g com.apple.mouse.scaling 1.5
defaults write -g KeyRepeat -int 1
defaults write -g InitialKeyRepeat -int 10

Expand All @@ -19,10 +19,10 @@ defaults write -g com.apple.mouse.tapBehavior -int 1
# クラッシュレポートを無効化する
defaults write com.apple.CrashReporter DialogType -string "none"

## 未確認のアプリケーションを実行する際のダイアログを無効にする
# 未確認のアプリケーションを実行する際のダイアログを無効にする
defaults write com.apple.LaunchServices LSQuarantine -bool false

## ダウンロードしたファイルを開くときの警告ダイアログをなくす
# ダウンロードしたファイルを開くときの警告ダイアログをなくす
defaults write com.apple.LaunchServices LSQuarantine -bool false

# ゴミ箱を空にする前の警告の無効化
Expand Down Expand Up @@ -61,7 +61,7 @@ defaults write com.apple.screencapture type jpg
defaults write -g AppleShowAllExtensions -bool true

# .DS_Storeを作成しない
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

killall Finder
killall Dock
Expand Down
4 changes: 4 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ make deploy
# shellcheck disable=SC1090
source ~/.zshrc

if ! (xcode-select -p &>/dev/null); then
xcode-select --install
fi

if ! (type 'brew' >/dev/null 2>&1); then
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Expand Down

0 comments on commit 7fe87ca

Please sign in to comment.