aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don’t source .bash_profile when PS1 is not set (for non-interactive shells). Mathias Bynens2011-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stolen from @janmoesen’s https://github.com/janmoesen/tilde/blob/master/.bashrc: # This might seem backwards when you look at the "Bash startup files" reference # <http://www.gnu.org/software/bash/manual/bashref.html#Bash-Startup-Files> or # the "INVOCATION" section in the man page. However, my workflow typically is: # # * Open a terminal with four shells in tabs # * Edit code in Vim, and shell out using ":sh" # # The initial four shells are login shells, so they source ~/.bash_profile. # The shells spawned by Vim are not login shells, but they /are/ interactive. # They look for .bashrc, but not .bash_profile. Because they are interactive, # PS1 is set, so I know it is OK to run all the shell initialisation code. # # If I were to put the contents of ~/.bash_profile in ~/.bashrc and make the # former source the latter, I would have to wrap the entire contents of the # latter in a huge "if [ -n "$PS1" ]; then ... fi" block. That does not really # help readability, does it? # # The difference between a login shell and an interactive non-login shell is # moot for me, so I consider all interactive shells to be equal and wanting # the same treatment. # # If you're wondering what a non-interactive shell might be, i.e. when PS1 # might not be set, try this: # # ssh localhost 'echo "PS1: >$PS1<"' #
* Looks like `IncludeDebugMenu` was replaced by `IncludeInternalDebugMenu` ↵Mathias Bynens2011-10-191-1/+1
| | | | recently.
* .vimrc: Make tabs as wide as two spaces.Mathias Bynens2011-10-191-1/+3
|
* Merge branch 'master' of github.com:mathiasbynens/dotfilesMathias Bynens2011-10-171-1/+1
|\ | | | | | | | | * 'master' of github.com:mathiasbynens/dotfiles: Link to the issue tracker for suggestions.
| * Link to the issue tracker for suggestions.Mathias Bynens2011-10-141-1/+1
| |
* | Add .vimrc, heavily based on the one @gf3 uses. Fixes #4.Mathias Bynens2011-10-171-0/+62
|/
* Sexier file sourcing.Mathias Bynens2011-10-141-3/+4
|
* Add a link to @janmoesen’s tilde repository.Mathias Bynens2011-10-141-1/+1
|
* Make the `json()` function more generic by allowing any JSON string instead ↵Mathias Bynens2011-10-081-1/+1
| | | | of just JSON URLs.
* Add a more convenient `whois` alias.Mathias Bynens2011-10-051-0/+1
|
* Typo.Mathias Bynens2011-09-291-1/+1
|
* Merge pull request #26 from matijs/masterMathias Bynens2011-09-291-0/+2
|\ | | | | Execute bootstrap.sh from anywhere. Fixes #23.
| * Undid some silly mistakes and made the script more simplerderMatijs Brinkhuis2011-09-281-5/+3
| |
| * make it possible for bootstap.sh to be executed from whereverMatijs Brinkhuis2011-09-271-1/+5
| |
* | Add `json` function. Example usage: `json ↵Mathias Bynens2011-09-291-3/+7
| | | | | | | | http://fronteers.nl/congres/2011/attendees.json`
* | Typo.Mathias Bynens2011-09-261-1/+1
| |
* | Fix .gitconfig formatting (use tabs instead of spaces).Mathias Bynens2011-09-261-23/+23
| |
* | Minor tweaks.Mathias Bynens2011-09-261-3/+3
| |
* | Merge pull request #25 from jrk/masterMathias Bynens2011-09-251-0/+3
|\ \ | | | | | | Enable subpixel font rendering on non-Apple LCDs.
| * | Enable subpixel font rendering on non-Apple LCDsJonathan Ragan-Kelley2011-09-261-0/+3
|/ /
* | The fix for the UTF-8 bug in QuickLook causes problems when saving files in ↵Mathias Bynens2011-09-251-4/+5
| | | | | | | | Adobe Illustrator CS5, so comment it out.
* | Only reset Launchpad when it’s actually available. Fixes #24.Mathias Bynens2011-09-241-1/+1
| |
* | Check if `tmutil` is available before using it. (It’s not available on ↵Mathias Bynens2011-09-241-1/+1
| | | | | | | | Snow Leopard.)
* | Use full PlistBuddy path instead of the alias, so `.osx` can be used ↵Mathias Bynens2011-09-241-1/+1
| | | | | | | | stand-alone.
* | Disable Ping entirely.Mathias Bynens2011-09-241-0/+3
| |
* | Disable the Ping sidebar in iTunes.Mathias Bynens2011-09-241-0/+3
| |
* | Show item info below desktop icons.Mathias Bynens2011-09-241-0/+3
| |
* | Add PlistBuddy alias, because sometimes `defaults` just doesn’t cut it.Mathias Bynens2011-09-241-0/+3
| |
* | Disable the warning before emptying the Trash.Mathias Bynens2011-09-231-0/+3
| |
* | Disable the warning when changing a file extension.Mathias Bynens2011-09-231-0/+3
| |
* | Empty Trash securely by default.Mathias Bynens2011-09-231-0/+3
| |
* | Only use UTF-8 in Terminal.app.Mathias Bynens2011-09-231-0/+3
| |
* | Automatically hide and show the Dock.Mathias Bynens2011-09-231-0/+3
| |
* | Show remaining battery time; hide percentage.Mathias Bynens2011-09-231-0/+4
| |
* | Set a blazingly fast keyboard repeat rate.Mathias Bynens2011-09-231-0/+3
| |
* | Typo.Mathias Bynens2011-09-231-1/+1
| |
* | Enable tap to click (Trackpad).Mathias Bynens2011-09-231-0/+3
| |
* | Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons.Mathias Bynens2011-09-221-0/+3
| |
* | Show all filename extensions in Finder. (Can be set via Finder → ↵Mathias Bynens2011-09-221-0/+3
| | | | | | | | | | | | Preferences too.) Thanks for the pointer, @Lri! https://github.com/mathiasbynens/dotfiles/issues/5#issuecomment-2162323
* | Add `emptytrash` alias.Mathias Bynens2011-09-211-0/+3
| |
* | Map bottom right Trackpad corner to secondary click (right-click).Mathias Bynens2011-09-211-0/+4
| |
* | Require password immediately after sleep or screen saver begins. (Can also ↵Mathias Bynens2011-09-211-0/+4
| | | | | | | | be set via System Preferences → Security & Privacy → General.)
* | Use `NSGlobalDomain` instead of `-g`.Mathias Bynens2011-09-201-4/+4
| |
* | Always show scrollbars.Mathias Bynens2011-09-201-0/+3
| |
* | Disable the “Are you sure you want to open this application?” dialog.Mathias Bynens2011-09-201-3/+6
| |
* | Show indicator lights for open applications in the Dock, and don’t animate ↵Mathias Bynens2011-09-201-0/+6
| | | | | | | | opening applications from the Dock. (These can be set through System Preferences → Dock as well.)
* | Merge pull request #20 from matijs/masterMathias Bynens2011-09-201-1/+3
|\| | | | | History ignore stuff
| * Added HISTIGNORE to ignore certain commands in historyMatijs Brinkhuis2011-09-201-1/+3
| |
* | Enable AirDrop over Ethernet and on unsupported Macs running OS X Lion.Mathias Bynens2011-09-201-0/+3
| |
* | Add aliases to hide/show all desktop icons.Mathias Bynens2011-09-201-0/+4
|/