From 3b4eb3efb692aa4d19a1e2c30c2ed9a65e9c7d8c Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sat, 7 Jun 2014 15:59:44 +0200 Subject: =?UTF-8?q?Remove=20some=20things=20that=20I=20don=E2=80=99t=20use?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit drops some aliases, functions, and settings from the project that I wasn’t using at all. It also cleans up some of the remaining code. --- .osx | 3 +++ 1 file changed, 3 insertions(+) (limited to '.osx') diff --git a/.osx b/.osx index c0a41d8..9ae87fb 100755 --- a/.osx +++ b/.osx @@ -74,6 +74,9 @@ defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true # Disable the “Are you sure you want to open this application?” dialog defaults write com.apple.LaunchServices LSQuarantine -bool false +# Remove duplicates in the “Open With” menu (also see `lscleanup` alias) +/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user + # Display ASCII control characters using caret notation in standard text views # Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt` defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true -- cgit v1.2.3