Giter Site home page Giter Site logo

bin's Introduction

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/pringshia/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, the load the git settings:

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

     ln -sf ~/bin/dotfiles/gitignore  ~/.gitignore
    
  7. Load SSH settings:

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

    source ~/.bashrc
    

    Follow the instructions here: https://github.com/djl/vcprompt

  9. Load diff-so-fancy support:

    brew install diff-so-fancy
    git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
    
  10. 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 
    
  11. Go and edit your aliases, configuration, settings, then push to your Github account!

Other tips

bin's People

Contributors

claudiob avatar claudiobi avatar pringshia avatar

Watchers

 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.