https://github.com/davidfstr/dotfiles
My command line customizations for OS X.
https://github.com/davidfstr/dotfiles
dotfiles
Last synced: 2 months ago
JSON representation
My command line customizations for OS X.
- Host: GitHub
- URL: https://github.com/davidfstr/dotfiles
- Owner: davidfstr
- License: other
- Created: 2012-10-21T19:36:45.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2024-08-22T18:38:22.000Z (10 months ago)
- Last Synced: 2025-04-18T20:05:23.334Z (2 months ago)
- Topics: dotfiles
- Language: Python
- Homepage:
- Size: 66.4 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# davidfstr's dotfiles
These are my customizations for the command line on OS X.
You may find them useful if you use a similar technology stack:
* OS X
* bash
* git+gitx, svn, cvsFor more information about "dotfiles" in general, consider reading [holman's post on dotfiles](http://zachholman.com/2010/08/dotfiles-are-meant-to-be-forked/).
## Requirements
* OS X 10.7 (Lion) or later
* `bash` as your default shell## Installation
* Clone this repository to `~/.dotfiles`.
* Ensure that your `~/.bash_profile` includes at the top:```
# Execute .bashrc
source ~/.bashrc
```* Ensure that your `~/.bashrc` includes at the top:
```
# If not running interactively, don't do anything
[ -z "$PS1" ] && return# Execute shared bashrc
source "$HOME/.dotfiles/.bashrc_shared"
```## Design
* Simple.
* A single monolithic rc file.
* No special scripts that manage / install the dotfiles.
* Isolated.
* `.bashrc_shared` is separate from the main `.bashrc`.
* Installers often attempt to modify `.bashrc` or `.bash_profile`.
Such modifications should be kept separate from the shared rc files.
* Minimal.
* Only includes commands and aliases that I actually use on a regular basis.
* Default place to add new aliases and customizations is still the
machine-specific `.bashrc`.
* Customizations are migrated to the shared `.bashrc_shared` only
after it has proven useful enough to use on multiple machines.
* Portable.
* Customizations are written for the `bash` shell,
which seems to be the default shell almost everywhere.## License
This software is licensed under the [MIT License].
[MIT License]: https://github.com/davidfstr/dotfiles/blob/master/LICENSE.txt