Giter Site home page Giter Site logo

dotfiles's Introduction

Addy's dotfiles.

This repo contains my personal dotfiles and are heavily based on paul and mathias's.

Some differences

  • Browserstack shortcuts which will launch the service and automatically load up a specific OS/Browser pair with your URL. e.g win7ie8 "http://google.com", ipad3 "http://google.com", ipad3ios6 "http://google.com",androidnexus "http://google.com" etc. If you would prefer to work locally similarly use ipad3 "http://localhost:3000"
  • Dropbox via the command-line support dropbox upload {localFile} {remoteFile}, dropbox download {remoteFile} {localFile}, dropbox list etc.
  • Browser and npm aliases e.g chrome, safari, opera, firefox, chromium and others.
  • Launch all browsers with a specific URL browsers "http://google.com"
  • My Sublime Text build files (Grunt, Yeoman, r.js, SASS, Less and a few others included)
  • @cowboy's GitHub Pull Request Helper

install the neccessary apps

My basic setup is captured in install-deps.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.

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>

Sensible OS X defaults

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

./.osx

Similar projects

I recommend getting a .jshintrc and .editorconfig defined for all your projects.

overview of files

Automatic config

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

shell environement

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

manual run

  • install-deps.sh - random apps i need installed
  • .osx - run on a fresh osx machine
  • .brew - homebrew intialization

git, brah

  • .git

  • .gitattributes

  • .gitconfig

  • .gitignore

  • .inputrc - config for bash readline

Installation

git clone https://github.com/addyosmani/dotfiles.git && cd dotfiles && ./sync.sh

To update later on, just run the sync again.

dotfiles's People

Contributors

addyosmani avatar danawoodman avatar gburtini avatar grgur avatar iloveitaly avatar jpsirois avatar jrk avatar kikobeats avatar kyleridolfo avatar mathiasbynens avatar matijs avatar paulirish avatar quicksnap avatar wyze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.