1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-10-31 23:35:32 +01:00

first setup for more tools

This commit is contained in:
Matthias Kretschmann 2014-02-24 17:35:21 +01:00
parent 1a2e11664c
commit b6a3ede10a
4 changed files with 26 additions and 39 deletions

3
brew
View File

@ -1,5 +1,8 @@
#!/bin/bash
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
# Make sure were using the latest Homebrew
brew update

8
npm Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
# Installed from brewfile with node
# install global stuff
npm install -g bower
npm install -g grunt-cli
npm install -g yo

41
osx
View File

@ -9,12 +9,6 @@
# General UI/UX #
###############################################################################
# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
# Expand print panel by default
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
# Disable the “Are you sure you want to open this application?” dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
@ -48,11 +42,6 @@ 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
# Automatically open a new Finder window when a volume is mounted
defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true
defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true
defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true
# Avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
@ -101,8 +90,8 @@ 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 "~/.dotfiles/webstyle.css"
#defaults write com.apple.Safari WebKitUserStyleSheetLocationPreferenceKey -string "~/.dotfiles/webstyle.css"
#defaults write com.apple.Safari UserStyleSheetLocationURLString -string "~/Projects/dotfiles/webstyle.css"
#defaults write com.apple.Safari WebKitUserStyleSheetLocationPreferenceKey -string "~/Projects/webstyle.css"
###############################################################################
@ -130,29 +119,3 @@ defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
# Disable local Time Machine backups
#hash tmutil &> /dev/null && sudo tmutil disablelocal
###############################################################################
# Twitter.app #
###############################################################################
# Disable smart quotes as its annoying for code tweets
defaults write com.twitter.twitter-mac AutomaticQuoteSubstitutionEnabled -bool false
# Show the app window when clicking the menu icon
defaults write com.twitter.twitter-mac MenuItemBehavior -int 1
# Enable the hidden Develop menu
#defaults write com.twitter.twitter-mac ShowDevelopMenu -bool true
# Open links in the background
defaults write com.twitter.twitter-mac openLinksInBackground -bool true
# Allow closing the new tweet window by pressing `Esc`
defaults write com.twitter.twitter-mac ESCClosesComposeWindow -bool true
# Show full names rather than Twitter handles
defaults write com.twitter.twitter-mac ShowFullNames -bool true
# Hide the app in the background if its not the front-most window
defaults write com.twitter.twitter-mac HideInBackground -bool true

13
ruby Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
# Install RVM
curl -sSL https://get.rvm.io | bash
# Install a Ruby
rvm install 2.1.0
rvm use 2.1.0
rvm rubygems latest
# Install gems
gem install bundler
gem install jekyll