Improve inital install of apps/settings

This commit is contained in:
Jonathan Barnes 2018-06-16 21:16:40 +01:00
parent 76aa4e9504
commit 1c711e016e
2 changed files with 31 additions and 5 deletions

27
brew.sh
View file

@ -1,8 +1,6 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
# Install Homebrew stuff # Install Homebrew stuff
brew tap homebrew/dupes
brew tap homebrew/php
brew tap homebrew/services brew tap homebrew/services
brew tap tldr-pages/tldr brew tap tldr-pages/tldr
@ -24,8 +22,8 @@ brew install wget --with-iri
# Install more recent versions of some OS X tools. # Install more recent versions of some OS X tools.
brew install vim --override-system-vi brew install vim --override-system-vi
brew install homebrew/dupes/grep brew install grep
brew install homebrew/dupes/openssh brew install openssh
# Install zsh and addons # Install zsh and addons
brew install zsh brew install zsh
@ -37,12 +35,31 @@ brew install ack
brew install git brew install git
brew install git-lfs brew install git-lfs
brew install diff-so-fancy brew install diff-so-fancy
brew install imagemagick --with-webp brew install gnupg
brew install imagemagick --with-webp --with-libheif
brew install lua brew install lua
brew install lynx brew install lynx
brew install openssl@1.1
brew install p7zip brew install p7zip
brew install pcre
brew install python
brew install sqlite
brew install xz brew install xz
brew install zopfli brew install zopfli
# Install WebDev packages
brew install nginx
brew install mariadb
brew install postgresql
brew install postgis
brew install php
brew install node
# Radnom packages
brew install ffmpeg
brew install go
brew install ruby
brew install youtube-dl
# Remove outdated versions from the Cellar # Remove outdated versions from the Cellar
brew cleanup brew cleanup

9
osx.sh
View file

@ -46,6 +46,9 @@ defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# Display full POSIX path as Finder window title # Display full POSIX path as Finder window title
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
# New Finder windows points to home
defaults write com.apple.finder NewWindowTarget -string "PfHm"
# When performing a search, search the current folder by default # When performing a search, search the current folder by default
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
@ -88,6 +91,12 @@ defaults write com.apple.dock autohide -bool true
# Automatically hide the menu bar # Automatically hide the menu bar
defaults write NSGlobalDomain _HIHideMenuBar -bool true defaults write NSGlobalDomain _HIHideMenuBar -bool true
# Show Bluetooth in the menu bar
defaults write com.apple.systemuiserver "NSStatusItem Visible com.apple.menuextra.bluetooth" -int 0
# Use a dark menu bar / dock
defaults write NSGlobalDomain AppleInterfaceStyle -string "Dark"
## Safari and Webkit ## Safari and Webkit
# Privacy: dont send search queries to Apple # Privacy: dont send search queries to Apple
defaults write com.apple.Safari UniversalSearchEnabled -bool false defaults write com.apple.Safari UniversalSearchEnabled -bool false