aboutsummaryrefslogtreecommitdiffstats
path: root/.osx
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2014-06-07 15:59:44 +0200
committerMathias Bynens <mathias@qiwi.be>2014-06-07 15:59:44 +0200
commit3b4eb3efb692aa4d19a1e2c30c2ed9a65e9c7d8c (patch)
treeaa8ed43008a0de86082b679d3912ac6be5fffcd9 /.osx
parente0308459473e424701166a65fadced5e1ea2702f (diff)
downloaddotfiles-3b4eb3efb692aa4d19a1e2c30c2ed9a65e9c7d8c.tar.gz
dotfiles-3b4eb3efb692aa4d19a1e2c30c2ed9a65e9c7d8c.tar.bz2
dotfiles-3b4eb3efb692aa4d19a1e2c30c2ed9a65e9c7d8c.zip
Remove some things that I don’t use
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.
Diffstat (limited to '.osx')
-rwxr-xr-x.osx3
1 files changed, 3 insertions, 0 deletions
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