Skip to content

.files, including ~/.osx — sensible hacker defaults for OS X

Notifications You must be signed in to change notification settings

alexanderekman/dotfiles

 
 

Repository files navigation

Paul's dotfiles

This repo is mostly for me but you're welcome to make suggestions. mathias's readme is the project to fork. I'm mostly catching up to him, @alrra, @paulmillr, @gf3.

My basic new machine setup is captured in setup-a-new-machine.sh which adds homebrew, z, nave, etc.

private config

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

Syntax highlighting

…is really important. even for these files.

Install Dotfiles Syntax Highlighting via Sublime Text 2 Package Control

Sensible OS X defaults

When setting up a new Mac, you may want to set some sensible OS X defaults:

./.osx

overview of files

Automatic config

  • .ackrc - for ack (better than grep)
  • .vimrc, .vim - vim config, obv.

shell environment

  • .aliases
  • .bash_profile
  • .bash_prompt
  • .bashrc
  • .exports
  • .functions
  • .extra - not included, explained above

manual run

  • setup-a-new-machine.sh - random apps i need installed
  • .osx - run on a fresh osx setup
  • brew.sh & brew-cask.sh - homebrew initialization

git, brah

  • .git

  • .gitattributes

  • .gitconfig

  • .gitignore

  • .inputrc - config for bash readline

install

Running sync copies from your dotfiles repo into ~/. I'd prefer to do proper symlink but haven't gotten that far yet.

./sync.sh

To update later on, just run the sync again.

About

.files, including ~/.osx — sensible hacker defaults for OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 73.7%
  • Visual Basic .NET 8.3%
  • Shell 6.6%
  • Python 5.2%
  • Perl 3.8%
  • Makefile 2.0%
  • Objective-C 0.4%