Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreruffert/dotfiles
💻 🔧
https://github.com/andreruffert/dotfiles
Last synced: 4 days ago
JSON representation
💻 🔧
- Host: GitHub
- URL: https://github.com/andreruffert/dotfiles
- Owner: andreruffert
- License: mit
- Created: 2014-10-17T17:58:29.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-12-20T12:46:56.000Z (about 5 years ago)
- Last Synced: 2024-10-24T02:13:57.122Z (about 2 months ago)
- Language: Shell
- Homepage:
- Size: 1.39 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My dotfiles ❤ ~/
![Screenshot of my bash prompt](http://i.imgur.com/mqLwep4.png)
## Installation
```
git clone https://github.com/andreruffert/dotfiles.git && cd dotfiles && source scripts/install.sh
```To update, `cd` into your local `dotfiles` repository and then:
```bash
source scripts/install.sh
```### Specify the `$PATH`
If `~/.path` exists, it will be sourced along with the other files, before any feature testing (such as [detecting which version of `ls` is being used](https://github.com/mathiasbynens/dotfiles/blob/aff769fd75225d8f2e481185a71d5e05b76002dc/.aliases#L21-L26)) takes place.
Here’s an example `~/.path` file that adds `/usr/local/bin` to the `$PATH`:
```bash
export PATH="/usr/local/bin:$PATH"
```### Add custom commands
If `~/.extra` exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.
My `~/.extra` looks something like this:
```
GIT_AUTHOR_NAME="André Ruffert"
GIT_AUTHOR_EMAIL="[email protected]"git config --global user.name "$GIT_AUTHOR_NAME"
git config --global user.email "$GIT_AUTHOR_EMAIL"
git config --global core.editor "atom --wait"
```### Sensible macOS defaults
When setting up a new Mac, you may want to set some sensible macOS defaults:
```bash
./.macos
```## Related
Big ups to [Mathias Bynens](https://mathiasbynens.be/) and his [dotfiles repository](https://github.com/mathiasbynens/dotfiles). Check [https://dotfiles.github.io](https://dotfiles.github.io) for more dotfiles.
## License
MIT © [André Ruffert](https://andreruffert.com/)