Skip to content
/ bin Public
forked from claudiob/dotfiles

My customized ~/bin (including dotfiles)

Notifications You must be signed in to change notification settings

jcohenho/bin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to install on a new computer

  1. Fork this project into your own Github account

  2. Clone on your machine:

     git clone https://github.com/<YOUR_GITHUB_USERNAME>/bin.git ~/bin
    
  3. Make sure the .bashrc file is loaded every time you open the Terminal:

     echo "if [ -f ~/.bashrc ]; then
       source ~/.bashrc
     fi" > ~/.bash_profile
    
  4. Load environment variables, aliases and shell settings:

     ln -sf ~/bin/dotfiles/bashrc     ~/.bashrc
    
  5. Enter your Github credentials in gitconfig, then load the git settings:

     ln -sf ~/bin/dotfiles/git/config  ~/.gitconfig
    
  6. Load git ignore settings:

     ln -sf ~/bin/dotfiles/git/ignore  ~/.gitignore
    
  7. Load git global hooks:

     mkdir -p ~/.git_template/hooks/
     ln -sf ~/bin/dotfiles/git/pre-commit  ~/.git_template/hooks/
    
  8. Load rubygems settings:

     ln -sf ~/bin/dotfiles/gemrc      ~/.gemrc
    
  9. Load pry settings for Rails:

     ln -sf ~/bin/dotfiles/pryrc      ~/.pryrc
    
  10. Load SSH settings:

     mkdir -p ~/.ssh
     ln -sf ~/bin/dotfiles/ssh/config ~/.ssh/config
    
  11. Load git prompt support:

    source ~/.bashrc
    vcprompt-install
    
  12. Load hub support (optional):

    hub-install
    
  13. Add custom bundles to Textmate 1 (optional):

    ln -sf ~/bin/dotfiles/textmate ~/Library/Application\ Support/TextMate/Bundles/claudiob.tmbundle
    
  14. Don't track further changes to your private settings:

    cd ~/bin
    git update-index --assume-unchanged ~/bin/dotfiles/bash/env.secret
    git update-index --assume-unchanged ~/bin/dotfiles/ssh/config
    
  15. Go and edit your aliases, configuration, settings, then push to your Github account!

Other tips

About

My customized ~/bin (including dotfiles)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%