now set home as dir for new finder windows

This commit is contained in:
Nathaniel Landau
2016-12-31 09:37:52 -05:00
parent 350080fcff
commit 176dba21b6
2 changed files with 11 additions and 7 deletions

View File

@@ -97,8 +97,6 @@ function mainScript() {
# #
# Credit: https://github.com/cowboy/dotfiles # Credit: https://github.com/cowboy/dotfiles
function to_install() { function to_install() {
local desired installed i desired_s installed_s remain local desired installed i desired_s installed_s remain
# Convert args to arrays, handling both space- and newline-separated lists. # Convert args to arrays, handling both space- and newline-separated lists.
@@ -257,7 +255,7 @@ function mainScript() {
brew install argon/mas/mas brew install argon/mas/mas
brew tap argon/mas brew tap argon/mas
brew tap caskroom/cask brew tap caskroom/cask
brew tap caskroom/fonts # brew tap caskroom/fonts
brew tap caskroom/versions brew tap caskroom/versions
} }
@@ -489,7 +487,6 @@ function mainScript() {
tree tree
unison # Rsynch like tool unison # Rsynch like tool
) )
doInstall doInstall
success "Done installing Homebrew packages" success "Done installing Homebrew packages"
@@ -586,13 +583,11 @@ function mainScript() {
"Dropbox/sharedConfiguration/Mackup/Library/Application Support/PaxGalaxia/net.txt" "Dropbox/sharedConfiguration/Mackup/Library/Application Support/PaxGalaxia/net.txt"
"Dropbox/sharedConfiguration/Mackup/Pictures/DeviantartBackup/clouds2.jpg" "Dropbox/sharedConfiguration/Mackup/Pictures/DeviantartBackup/clouds2.jpg"
"Dropbox/sharedConfiguration/Mackup/Library/init/bash/aliases.bash" "Dropbox/sharedConfiguration/Mackup/Library/init/bash/aliases.bash"
"Dropbox/sharedConfiguration/Mackup/Downloads"
"Dropbox/sharedConfiguration/Mackup/.mackup/my-files.cfg" "Dropbox/sharedConfiguration/Mackup/.mackup/my-files.cfg"
"Dropbox/sharedConfiguration/App Configuration Files/Alfred2/Alfred.alfredpreferences" "Dropbox/sharedConfiguration/App Configuration Files/Alfred2/Alfred.alfredpreferences"
"Dropbox/sharedConfiguration/Mackup/Library/Preferences/com.dustinrue.ControlPlane.plist" "Dropbox/sharedConfiguration/Mackup/Library/Preferences/com.dustinrue.ControlPlane.plist"
) )
info "Confirming that Dropbox has synced by looking for files..." info "Confirming that Dropbox has synced by looking for files..."
info "(This might fail if the list of files is out of date)" info "(This might fail if the list of files is out of date)"

View File

@@ -225,7 +225,7 @@ function mainScript() {
success "Set Home Folder as the default location for new Finder windows" success "Set Home Folder as the default location for new Finder windows"
# For other paths, use `PfLo` and `file:///full/path/here/` # For other paths, use `PfLo` and `file:///full/path/here/`
defaults write com.apple.finder NewWindowTarget -string "PfDe" defaults write com.apple.finder NewWindowTarget -string "PfHm"
defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}/" defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}/"
success "Show icons for hard drives, servers, and removable media on the desktop" success "Show icons for hard drives, servers, and removable media on the desktop"
@@ -306,6 +306,9 @@ function mainScript() {
success "Show the ~/Library folder" success "Show the ~/Library folder"
chflags nohidden ${HOME}/Library chflags nohidden ${HOME}/Library
success "Show the /Volumes folder"
sudo chflags nohidden /Volumes
#success "Remove Dropboxs green checkmark icons in Finder" #success "Remove Dropboxs green checkmark icons in Finder"
#file=/Applications/Dropbox.app/Contents/Resources/emblem-dropbox-uptodate.icns #file=/Applications/Dropbox.app/Contents/Resources/emblem-dropbox-uptodate.icns
#[ -e "${file}" ] && mv -f "${file}" "${file}.bak" #[ -e "${file}" ] && mv -f "${file}" "${file}.bak"
@@ -329,9 +332,15 @@ function mainScript() {
success "Enable highlight hover effect for the grid view of a stack" success "Enable highlight hover effect for the grid view of a stack"
defaults write com.apple.dock mouse-over-hilite-stack -bool true defaults write com.apple.dock mouse-over-hilite-stack -bool true
success "Change minimize/maximize window effect"
defaults write com.apple.dock mineffect -string "genie"
success "Set the icon size of Dock items to 36 pixels" success "Set the icon size of Dock items to 36 pixels"
defaults write com.apple.dock tilesize -int 36 defaults write com.apple.dock tilesize -int 36
success "Show only open applications in the Dock"
defaults write com.apple.dock static-only -bool true
success "Minimize windows into their applications icon" success "Minimize windows into their applications icon"
defaults write com.apple.dock minimize-to-application -bool true defaults write com.apple.dock minimize-to-application -bool true