Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cenkalti/dotfiles

dotfiles management with git
https://github.com/cenkalti/dotfiles

dotfiles

Last synced: 2 months ago
JSON representation

dotfiles management with git

Awesome Lists containing this project

README

        

# cenkalti's dotfiles

## Installation

Clone using following command:
```sh
export REPO="[email protected]:cenkalti/dotfiles"
# for read-only access
# export REPO="https://github.com/cenkalti/dotfiles.git"
curl 'https://raw.githubusercontent.com/cenkalti/dotfiles/master/.install.sh' | bash
```

Add this to your `.bashrc`/`.zshrc` file:
```sh
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
```

Checkout files:
```sh
dotfiles reset --hard
```

## Usage

Use `dotfiles` command instead of `git`:
```sh
dotfiles pull
dotfiles add .vimrc
dotfiles commit -m "add .vimrc file"
dotfiles push
```