From 674506b7c6c4dfab674650a3eda6bf5c24e1f0e7 Mon Sep 17 00:00:00 2001 From: Christopher Pelloux Date: Sun, 17 Nov 2013 02:22:06 +0100 Subject: .osx: Set Desktop as the default location for new Finder windows Closes #285. --- .osx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.osx b/.osx index 0007a24..3141d5d 100755 --- a/.osx +++ b/.osx @@ -228,6 +228,11 @@ defaults write com.apple.finder QuitMenuItem -bool true # Finder: disable window animations and Get Info animations defaults write com.apple.finder DisableAllAnimations -bool true +# Set Desktop as the default location for new Finder windows +# For other paths, use `PfLo` and `file:///full/path/here/` +defaults write com.apple.finder NewWindowTarget -string "PfDe" +defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}/Desktop/" + # Show icons for hard drives, servers, and removable media on the desktop defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true -- cgit v1.2.3