Hacker GitHub

← All repos

mathiasbynens/dotfiles

View on GitHub ↗ ★ 31,507 Shell

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS

57 mentions on Hacker News by 49 people: 9 stories, 48 comments · first 2011-09-08 · latest 2026-09-06

Mentions per year 57 mentions · busiest year 2013 (9)
20082026
  1. …settings that can be adjusted to your preferred mode digging through this repo (not affiliated): https://github.com/mathiasbynens/dotfiles
  2. …animations on MacOSXHints.com (gone now). Regardless, I learned a lot of great "enhancements" here: https://github.com/mathiasbynens/dotfiles And here's the blog of the person who ran MacOSXHints.com: https://robservatory.com/make-your-maco…
    comment by alsetmusic · 2026-04-10 · in Native Instant Space Switching on macOS
  3. …always the same defaults than everywhere else. When I setup a new system, I always end up here: https://github.com/mathiasbynens/dotfiles/blob/master/.macos Then I add the few missing ones as I use the machine, like this one for example:…
  4. …hide and show the Dock defaults write com.apple.dock autohide -bool true ``` More here: https://github.com/mathiasbynens/dotfiles/blob/main/.macos It's kind of old but most of them should still work.
    comment by mattacular · 2024-05-24 · in New MacBook Setup
  5. https://github.com/mathiasbynens/dotfiles/blob/main/.macos
  6. You might be interested in this: https://github.com/mathiasbynens/dotfiles/blob/main/.macos I don't advise just running Mathias' config as is, but read through it and see if anything seems to be something you want in yours, make the…
    comment by rekoil · 2023-08-30 · in The first conformant M1 GPU driver
  7. …[3] https://gist.github.com/mvanbaak/e98b7b622ea2c8ab626d51cb88e... [4] https://github.com/mathiasbynens/dotfiles/blob/main/.macos
    comment by Maursault · 2022-11-06 · in Home truths about macOS
  8. …on PRs. If you would like to have this fix, you can do this after cloning the repo: git clone https://github.com/mathiasbynens/dotfiles && cd dotfiles git fetch origin "+refs/pull/*/head:refs/remotes/origin/pr/*" && git cherry-pick…
    comment by unqueued · 2022-10-25 · in macOS Ventura is now available
  9. Look up dotfiles on GitHub - for example https://github.com/mathiasbynens/dotfiles/blob/main/.macos
    comment by sjg · 2022-10-24 · in macOS Ventura is now available
  10. Mathias Byens' dotfiles repo is a bit like this - https://github.com/mathiasbynens/dotfiles . It's highly opinionated, but I found it extremely useful as a starting point for setting up my own dotfiles. This repo seems simliar to me - the…
  11. …but you may be able to find a good chunk of what you need and update/run it as often as you'd like. https://github.com/mathiasbynens/dotfiles/blob/master/.macos
  12. …is silly. This is likely fixed by one of the items in this very long list of power-user tweaks: https://github.com/mathiasbynens/dotfiles/blob/master/.macos
    comment by alanbernstein · 2021-05-24 · in How Intuitive Are Macs Really?
  13. …Documents and be done with it). The save dialog can be expanded by default by tweaking it though: https://github.com/mathiasbynens/dotfiles/blob/master/.macos...
    comment by e_proxus · 2021-03-25 · in Gnome 40
  14. …user. I gave the submission it's title because that is how the creator refers to the file.[0] [0] https://github.com/mathiasbynens/dotfiles/tree/master#sensib...
    comment by garrtt · 2021-03-19 · in Sensible macOS Defaults
  15. …all) system preference using the terminal. It made doing clean installs every year so much easier. https://github.com/mathiasbynens/dotfiles/blob/main/.macos
  16. I experimented with a version of this: https://github.com/mathiasbynens/dotfiles . It worked ok. Still had a few things I had to tweak, but if you have a few things you want to keep it's easy. I basically only use a brewfile + a shell…
  17. …you can change via terminal commands are already available for free on github like the popular https://github.com/mathiasbynens/dotfiles , unless this app plans to have core functionality versus just running terminal commands once.
  18. macOS setup here. I use https://github.com/mathiasbynens/dotfiles to get my setup done. Comes pretty much with a lot OTB!
  19. A mishmash of stuff I have copied from various public "dotfiles" repos. Quite a few gems in here: https://github.com/mathiasbynens/dotfiles
    comment by amarraja · 2017-11-17 · in Ask HN: What's your .bashrc?
  20. …Some of the differences between the defaults and what I see on my system might be down to this: https://github.com/mathiasbynens/dotfiles/blob/master/.macos
    comment by pwinnski · 2017-08-13 · in We need to document macOS
  21. …which I have customized to use a post-completion script to configure defaults (e.g. https://github.com/mathiasbynens/dotfiles/blob/master/.macos ) and initial setup of Vim. Homebrew and shell scripting. What more could you need? :)
  22. For this kind of setup I use this very well maintained script https://github.com/mathiasbynens/dotfiles/blob/master/.macos This dotfiles repo is even recommended by Github at https://dotfiles.github.io/
    comment by srigi · 2017-02-17 · in Awesome OS X Command Line
  23. I compiled all security enhancing configuration I found for macOS at: https://github.com/mathiasbynens/dotfiles/pull/686 Not sure these are mitigating the OP issue though. Still, can't be bad to harden macOS a little bit.
    comment by kdeldycke · 2016-12-16 · in MacOS FileVault2 Password Retrieval
  24. Scripting out your favorite settings, here’s an example: https://github.com/mathiasbynens/dotfiles/blob/master/.macos I use something similar, along with dotbot ( https://github.com/anishathalye/dotbot ) to wire up other application’s…
  25. …looking for, anyway it's a good starting point for a lot of commands to customize an OS X instance. https://github.com/mathiasbynens/dotfiles Edit: AFAIK .DS_Store is only created when you use Finder. In the past couple of years I've only…
  26. …you can do a SSD upgrade. In addition, I cannot say enough good about the dotfiles project from https://github.com/mathiasbynens/dotfiles for making OSX a nice developer environment. Be sure to completely read through the .osx file before…
  27. …they seem to use OS X heavily. Homebrew - http://brew.sh/ Also the ~/.osx dotfiles in this repo ( https://github.com/mathiasbynens/dotfiles ) are quite handy especially space order locking. That used to drive me mad. Finally Amethyst (…
  28. …for editing most textboxes. Run $ man open to read about opening apps from the command line. [1] https://github.com/mathiasbynens/dotfiles
  29. …[1] https://github.com/yramagicman/dotfiles [2] https://github.com/yramagicman/zsh-aliases [3] https://github.com/mathiasbynens/dotfiles/blob/master/.funct...
  30. Better yet, if you just want to get to work and have a sexy terminal, use https://github.com/mathiasbynens/dotfiles To install on Mac just run: git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && source bootstrap.sh
    comment by sergiotapia · 2015-01-19 · in A list of cool features of Git and GitHub
  31. …(even 10.10) is perfectly usable after applying many of the famous dotfile hacks by mathias bynens: https://github.com/mathiasbynens/dotfiles/blob/master/.osx These restore my sanity :)
    comment by cgijoe · 2015-01-04 · in Why I Quit OS X – Geoff Wozniak
  32. …- GasMask (host file editor) - Sequel Pro (if you're using MySQL) - Dotfiles by Mathias Bynens ( https://github.com/mathiasbynens/dotfiles ) - Any of your favorite task/to-do list manager. Feel free to add more.
    comment by imperium · 2014-07-21 · in Ask HN: MacBook Air for Web Development?
  33. …Mathias Bynen's famous dotfiles is a fantastic shortcut for colorised (and more) output from tree. https://github.com/mathiasbynens/dotfiles/blob/master/.funct...
    comment by WickyNilliams · 2014-07-04 · in Unix Tricks
  34. These projects with the same goal also worth taking a look: https://github.com/mathiasbynens/dotfiles https://github.com/thoughtbot/laptop http://boxen.github.com https://github.com/jpsim/laptop
  35. …a solid foundation for customizing your terminal style. Based on Mathias Bynens epic dotfiles - https://github.com/mathiasbynens/dotfiles* Or was that added after posting it here?
  36. Actually, it looks like Bashstrap is a fork of https://github.com/mathiasbynens/dotfiles . A lot of the commands, file structure, and even parts of the readme are a direct copy-paste…
    comment by mathias · 2013-12-22 · in Bashstrap – For your OS X terminal
  37. https://github.com/mathiasbynens/dotfiles is fantastic, I refer to that a lot.
    comment by barryclark · 2013-12-22 · in Bashstrap – For your OS X terminal
  38. bash alternate to oh-my-sh : https://github.com/revans/bash-it . https://github.com/mathiasbynens/dotfiles has a pretty good collection of dotfiles repos mentioned in its readme.md. There are few more at http://dotfiles.github.io/
    comment by k4rthik · 2013-12-22 · in Bashstrap – For your OS X terminal
  39. I'd also look at Mathias Bynens dotfiles repo. https://github.com/mathiasbynens/dotfiles
  40. It's also included in this sane defaults dotfile https://github.com/mathiasbynens/dotfiles/blob/master/.osx#L...
  41. …Most scripts have these bootstrap files, my dotfiles and more are based on this repo https://github.com/mathiasbynens/dotfiles with a very good setup script.
  42. One stop shopping to fix a slew of OSX annoyances: https://github.com/mathiasbynens/dotfiles/blob/master/.osx?o...
    comment by mullingitover · 2012-11-30 · in iTunes 11: the convergence of iOS and OS X design
  43. # This is script with usefull tips taken from: # https://github.com/mathiasbynens/dotfiles/blob/master/.osx
    comment by aes256 · 2012-03-31 · in OSX For Hackers
  44. This seems to be a copy of Mathias Bynen's Dotfiles ( https://github.com/mathiasbynens/dotfiles/blob/master/.osx , 'sensible hacker defaults for OS X'), with a few minor changes. Specifically, comments explainung each line have been…
    comment by jamessb · 2012-03-31 · in OSX For Hackers
  45. …point of even upgrading? Don't forget about this, which basically resets Lion to better defaults: https://github.com/mathiasbynens/dotfiles/blob/master/.osx
  46. And there we go: defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false Commit: https://github.com/mathiasbynens/dotfiles/commit/7346f4c4592...
  47. Thanks! Committed: https://github.com/mathiasbynens/dotfiles/commit/7346f4c4592...
  48. Ah, forgot about that one. Thanks! Added: https://github.com/mathiasbynens/dotfiles/commit/18044c4c882...