Giter Club home page Giter Club logo

dotfiles-ref's Introduction

Dotfiles

Installing dotfiles on a new system

Initialize the dotfile management environment.

git clone --bare [email protected]:jaywonchung/dotfiles.git $HOME/.dotfiles
git --git-dir=$HOME/.dotfiles --work-tree=$HOME checkout master
source .dotmodules/init.sh

Warning. My machines have SSH authentication set up with Github, so cloning with [email protected]:jaywonchung/dotfiles.git works. Others will have to clone with the URL https://github.com/jaywonchung/dotfiles.git.

Then checkout the desired system branch. For example, install the ubuntu-server settings with:

dotfiles checkout ubuntu-server

You may run into errors when checking out a branch due to existing dotfiles in your home directory. Do a quick backup to a separate directory, or just remove them.

Finally, run the installation script.

zsh ~/.dotmodules/install/all.sh

Or just to everything at once. Very secure, obviously.

source <(curl https://raw.githubusercontent.com/jaywonchung/dotfiles/master/install.sh)

Restarting the shell will finish the installation.

Warning. Don't forget to change .gitconfig to reflect your identity (use the git config command).

Modifying configurations

In your home directory, you can do things like:

dotfiles status
dotfiles add .new_dotfile
dotfiles commit -m "A new dotfile that's really damn.. new!"
dotfiles push

dotfiles-ref's People

Contributors

jaywonchung 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.