diff options
author | Mathias Bynens <mathias@qiwi.be> | 2012-08-06 22:51:22 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-08-06 22:51:22 +0200 |
commit | ab64db65806920e82dbab5f19528ebe071bafaef (patch) | |
tree | 22c82ae8e5ca4782dc3ccaab42441fcba985687d /README.md | |
parent | 559ccb5437dfb231fea5496e2d24bb44d1e6247e (diff) | |
download | dotfiles-ab64db65806920e82dbab5f19528ebe071bafaef.tar.gz dotfiles-ab64db65806920e82dbab5f19528ebe071bafaef.tar.bz2 dotfiles-ab64db65806920e82dbab5f19528ebe071bafaef.zip |
.bash_profile: Source `~/.path` before and `~/.extra` after all the other dotfiles
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -32,6 +32,10 @@ cd; curl -#L https://github.com/mathiasbynens/dotfiles/tarball/master | tar -xzv To update later on, just run that command again. +### 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) takes place. + ### Add custom commands without creating a new fork 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. @@ -52,6 +56,8 @@ GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" git config --global user.email "$GIT_AUTHOR_EMAIL" ``` +You could also use `~/.extra` to override settings, functions and aliases from my dotfiles repository. It’s probably better to [fork this repository](https://github.com/mathiasbynens/dotfiles/fork_select) instead, though. + ### Sensible OS X defaults When setting up a new Mac, you may want to set some sensible OS X defaults: |