Giter Site home page Giter Site logo

dotfiles's Introduction

cb's dotfiles

Installation and setup

In order to use this dotfiles no special steps are needed. Just copy&paste all data, configuration or files to the corresponding places on your machine.

In order to make the most out of a general dotfile repository it is recommended to actually use the provided files by either setting up the whole dotfile dir or by symlinking or copying the desired parts.

cd ~/path/to/safe/checkout/location
git clone [email protected]:potzenheimer/dotfiles.git
ln -s ~//path/to/safe/checkout/location ~/dotfiles

You can clone the repository wherever you want (e.g. ~/dev/dotfiles, with ~/dotfiles as a symlink).

Then copy the config files to your home directory, e.g.

scp ~/dotfiles/.bash_profile ~/.bash_profile
scp ~/dotfiles/.bash_prompt ~/.bash_prompt

Setup

The .bash_prompt file automatically loads the following config files, so make sure you have at least empty versions in your home directory:

  • bash_prompt (color console prompt)
  • exports (set environment defaults like e.g. default editor)
  • aliases (handy shortcuts like e.g flush to purge local DNS Cache)
  • functions (tools for easier development like e.g. server opens a Python Server with the current directory as root for testing static sites)

Git command promt enhancements

We provide an installation file for git completion setup (not installed by default when using brew git installations). In order to enable it, you must run

(sudo) ~/install-git-completion.sh

Extra paths and user specific information

You can add extra paths by editing the .path file.

Note: you must edit .extra to configure your user specific information ( like e.g. github user). Otherwise several services might not work as expected.

Using Git and the bootstrap script (experimantal)

The bootstrapper script will pull in the latest version and copy the files to your home folder.

git clone https://github.com/potzenheimer/dotfiles.git && cd dotfiles && source bootstrap.sh

To update, cd into your local dotfiles repository and then:

source bootstrap.sh

Alternatively, to update while avoiding the confirmation prompt:

set -- -f; source bootstrap.sh

dotfiles's People

Contributors

potzenheimer avatar

Stargazers

KKDEV avatar  avatar

Watchers

 avatar James Cloos avatar

Forkers

pchanxxx

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.