From 1c711e016ed1375d720a43401532ef9e349a1263 Mon Sep 17 00:00:00 2001 From: Jonathan Barnes Date: Sat, 16 Jun 2018 21:16:40 +0100 Subject: [PATCH] Improve inital install of apps/settings --- brew.sh | 27 ++++++++++++++++++++++----- osx.sh | 9 +++++++++ 2 files changed, 31 insertions(+), 5 deletions(-) diff --git a/brew.sh b/brew.sh index 4a1aa5d..2a539f0 100755 --- a/brew.sh +++ b/brew.sh @@ -1,8 +1,6 @@ #!/usr/bin/env zsh # Install Homebrew stuff -brew tap homebrew/dupes -brew tap homebrew/php brew tap homebrew/services brew tap tldr-pages/tldr @@ -24,8 +22,8 @@ brew install wget --with-iri # Install more recent versions of some OS X tools. brew install vim --override-system-vi -brew install homebrew/dupes/grep -brew install homebrew/dupes/openssh +brew install grep +brew install openssh # Install zsh and addons brew install zsh @@ -37,12 +35,31 @@ brew install ack brew install git brew install git-lfs 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 lynx +brew install openssl@1.1 brew install p7zip +brew install pcre +brew install python +brew install sqlite brew install xz 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 brew cleanup diff --git a/osx.sh b/osx.sh index 17e7f4a..69507c4 100755 --- a/osx.sh +++ b/osx.sh @@ -46,6 +46,9 @@ defaults write NSGlobalDomain AppleShowAllExtensions -bool true # Display full POSIX path as Finder window title 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 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 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 # Privacy: don’t send search queries to Apple defaults write com.apple.Safari UniversalSearchEnabled -bool false