mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-22 01:37:14 +01:00
first setup for more tools
This commit is contained in:
parent
1a2e11664c
commit
b6a3ede10a
3
brew
3
brew
@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Install Homebrew
|
||||
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
|
||||
|
||||
# Make sure we’re using the latest Homebrew
|
||||
brew update
|
||||
|
||||
|
8
npm
Executable file
8
npm
Executable 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
41
osx
@ -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 it’s 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 it’s not the front-most window
|
||||
defaults write com.twitter.twitter-mac HideInBackground -bool true
|
Loading…
Reference in New Issue
Block a user