diff --git a/bash_paths b/bash_paths index dab6e9a..b43a410 100644 --- a/bash_paths +++ b/bash_paths @@ -12,9 +12,6 @@ declare -a dirs_to_append=( "/usr/bin" "$(brew --prefix coreutils)/libexec/gnubin" # Add brew-installed GNU core utilities bin "$(brew --prefix)/share/npm/bin" # Add npm-installed package bin - "$(brew --prefix android-sdk)/tools" - "$(brew --prefix android-sdk)/platform-tools" - "$(brew --prefix mysql)/bin" ) # Prepend directories to PATH diff --git a/brew.sh b/brew.sh index f128f07..58ba770 100755 --- a/brew.sh +++ b/brew.sh @@ -20,11 +20,10 @@ brew install git brew install node brew install wget brew install gpg2 -brew install mysql brew install imagemagick brew install GraphicsMagick -brew install android brew install tor +brew install gsl # Link gpg to gpg2 ln -s /usr/local/bin/gpg2 /usr/local/bin/gpg diff --git a/osx b/osx deleted file mode 100755 index 2be7ca3..0000000 --- a/osx +++ /dev/null @@ -1,122 +0,0 @@ -# OS X defaults -# -# most of it taken from @mathiasbynens -# https://github.com/mathiasbynens/dotfiles/blob/master/.osx -######################################################################## - -# Ask for the administrator password upfront -sudo -v - -# Keep-alive: update existing `sudo` time stamp until `osx` has finished -while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & - - -############################################################################### -# Trackpad, mouse, keyboard, and input # -############################################################################### - -# Disable auto-correct -defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false - - -############################################################################### -# Finder # -############################################################################### - -# Allow text selection in Quick Look -defaults write com.apple.finder QLEnableTextSelection -bool true - -# Disable disk image verification -defaults write com.apple.frameworks.diskimages skip-verify -bool true -defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true -defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true - -# Avoid creating .DS_Store files on network volumes -defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true - -# Enable snap-to-grid for icons on the desktop and in other icon views -/usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist -/usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist -/usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist - -# Disable the warning before emptying the Trash -defaults write com.apple.finder WarnOnEmptyTrash -bool false - -# Show the ~/Library folder -chflags nohidden ~/Library - - -############################################################################### -# Dock, Dashboard, and hot corners # -############################################################################### - -# Add a spacer to the left side of the Dock (where the applications are) -#defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' -# Add a spacer to the right side of the Dock (where the Trash is) -#defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}' - - -############################################################################### -# Safari & WebKit # -############################################################################### - -# Set Safari’s home page to `about:blank` for faster loading -defaults write com.apple.Safari HomePage -string "" - -# Make Safari’s search banners default to Contains instead of Starts With -defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false - -# Set web style sheet -defaults write com.apple.Safari UserStyleSheetEnabled -bool true -defaults write com.apple.Safari UserStyleSheetLocationURLString -string "~/Projects/dotfiles/webstyle.css" -defaults write com.apple.Safari WebKitUserStyleSheetLocationPreferenceKey -string "~/Projects/webstyle.css" - - -############################################################################### -# Mail # -############################################################################### - -# Copy email addresses as `foo@example.com` instead of `Foo Bar ` in Mail.app -defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false - - -############################################################################### -# SSD-specific tweaks # -############################################################################### - -# Disable local Time Machine snapshots -sudo tmutil disablelocal - -# Disable the sudden motion sensor as it’s not useful for SSDs -sudo pmset -a sms 0 - - -############################################################################### -# Terminal # -############################################################################### - -# Only use UTF-8 in Terminal.app -defaults write com.apple.terminal StringEncodings -array 4 - - -############################################################################### -# Time Machine # -############################################################################### - -# Prevent Time Machine from prompting to use new hard drives as backup volume -defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true - -# Disable local Time Machine backups -hash tmutil &> /dev/null && sudo tmutil disablelocal - - -############################################################################### -# Kill affected applications # -############################################################################### - -for app in "Activity Monitor" "Address Book" "Calendar" "Contacts" "cfprefsd" \ - "Dock" "Finder" "Mail" "Messages" "Safari" "SystemUIServer" \ - "Terminal"; do - killall "${app}" > /dev/null 2>&1 -done -echo "Done. Note that some of these changes require a logout/restart to take effect."