This repo contains my personal dotfiles and are heavily based on addy, paul and mathias's.
- Use rbenv instead of rvm
My basic setup is captured in install-deps.sh
which adds homebrew, z, nave, etc.
Toss it into a file called .extra
which you do not commit to this repo and just keep in your ~/
I do something nice with my PATH
there:
# PATH like a bawss
PATH=/opt/local/bin
PATH=$PATH:/opt/local/sbin
PATH=$PATH:/bin
PATH=$PATH:~/.rvm/bin
PATH=$PATH:~/code/git-friendly
# ...
export PATH
…is really important. even for these files.
add the below to this file: ~/Library/Application Support/Sublime Text 2/Packages/ShellScript/Shell-Unix-Generic.tmLanguage
<string>.aliases</string>
<string>.bash_profile</string>
<string>.bash_prompt</string>
<string>.bashrc</string>
<string>.brew</string>
<string>.exports</string>
<string>.functions</string>
<string>.git</string>
<string>.gitattributes</string>
<string>.gitconfig</string>
<string>.gitignore</string>
<string>.inputrc</string>
<string>.osx</string>
<string>.vim</string>
<string>.vimrc</string>
When setting up a new Mac, you may want to set some sensible OS X defaults:
./.osx
I recommend getting a .jshintrc
and .editorconfig
defined for all your projects.
.ackrc
- for ack (better than grep).vimrc
,.vim
- vim config, obv.
.aliases
.bash_profile
.bash_prompt
.bashrc
.exports
.functions
.extra
- not included, explained above
install-deps.sh
- random apps i need installed.osx
- run on a fresh osx machine.brew
- homebrew intialization
-
.git
-
.gitattributes
-
.gitconfig
-
.gitignore
-
.inputrc
- config for bash readline
git clone https://github.com/hiromitz/dotfiles.git && cd dotfiles && ./sync.sh
To update later on, just run the sync again.