Giter Site home page Giter Site logo

dotfiles's Introduction

Clemens' Dotfiles

How to install

The installation step may overwrite existing dotfiles in your HOME directory.

$ bash -c "$(curl -fsSL raw.github.com/klaemo/dotfiles/master/bin/dotfiles)"

N.B. If you wish to fork this project and maintain your own dotfiles, you must substitute my username for your own in the above command and the 2 variables found at the top of the bin/dotfiles script.

How to update

You should run the update when:

  • You make a change to ~/.dotfiles/git/gitconfig (the only file that is copied rather than symlinked).
  • You want to pull changes from the remote repository.
  • You want to update Homebrew formulae and Node packages.

Run the dotfiles command:

$ dotfiles

Options:

-h, --help Help
--no-packages Suppress package updates
--no-sync Suppress pulling from the remote repository

Features

Automatic software installation

Homebrew formulae:

Local/private zsh configuration

Any private and custom zsh commands and configuration should be placed in a ~/.zsh_extra file. This file will not be under version control or committed to a public repository. If ~/.zsh_extra exists, it will be sourced for inclusion in zsh_env.

Here is an example ~/.zsh_extra:

# PATH exports
PATH=$PATH:~/.gem/ruby/1.8/bin
export PATH

# Git credentials
# Not under version control to prevent people from
# accidentally committing with your details
GIT_AUTHOR_NAME="Clemens Stolle"
GIT_AUTHOR_EMAIL="[email protected]"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
# Set the credentials (modifies ~/.gitconfig)
git config --global user.name "$GIT_AUTHOR_NAME"
git config --global user.email "$GIT_AUTHOR_EMAIL"

# Aliases
alias code="cd ~/Code"

N.B. Because the git/gitconfig file is copied to ~/.gitconfig, any private git configuration specified in ~/.extra will not be committed to your dotfiles repository.

Acknowledgements

Inspiration and code was taken from many sources, including:

dotfiles's People

Contributors

mathiasbynens avatar klaemo avatar alrra avatar porada avatar sindresorhus avatar hkdobrev avatar goodtimeaj avatar user996015 avatar matijs avatar oschrenk avatar richo avatar hongymagic avatar remitbri avatar s10wen avatar sjonnet19 avatar pkruithof avatar paulirish avatar christiangaertner avatar 0xcc77 avatar manix84 avatar atdt avatar nizaroni avatar necolas avatar nvartolomei avatar nickbudi avatar eins78 avatar mlowery avatar windgazer avatar junkblocker avatar luveenw avatar

Stargazers

Fabian Gündel avatar Viktor LOOSZ avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

sto3psl

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.