Skip to content

Instantly share code, notes, and snippets.

@felipesabino
Last active April 5, 2018 19:52
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipesabino/5847825 to your computer and use it in GitHub Desktop.
Save felipesabino/5847825 to your computer and use it in GitHub Desktop.
Mac OS small enhancements
#!/bin/sh
# Sets Terminal to case insensitive
# http://blog.nickburwell.com/blog/2008/11/mac-os-x-terminal-case-insensitive-auto
echo "set completion-ignore-case On" >> ~/.inputrc
# Disables the creation of .DS_Store files on external volumes
# http://danilo.ariadoss.com/how-to-recursively-remove-ds_store-files-on-mac-os-x/
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
# Make Your Keyboard Keys Repeat Properly When Held Down
# http://lifehacker.com/5826055/make-your-keyboard-keys-repeat-properly-when-held-down-in-mac-os-x-lion
defaults write -g ApplePressAndHoldEnabled -bool false
# ----
# Other Finder Settings
# http://apple.stackexchange.com/questions/400/please-share-your-hidden-os-x-features-or-tips-and-tricks
# Show All hidden files
defaults write com.apple.Finder AppleShowAllFiles 1
# Shows complete path in title
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
# Restarts Finder to apply all settings
killall Finder
# Creates an extra spacer at the Dock
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
# Restarts Dock to apply all settings
killall Dock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment