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

https://github.com/codepr/dotfiles

All my configurations .files
https://github.com/codepr/dotfiles

Last synced: 5 months ago
JSON representation

All my configurations .files

Awesome Lists containing this project

README

          

Dotfiles
========

# Install

### Setup a convenient alias

```sh
echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrc
source .bashrc
```

### Clone repository

Assuming SSH, otherwise clone through token on `https://github.com/codepr/dotfiles.git`

```sh
git clone --bare git@github.com:codepr/dotfiles.git $HOME/.cfg
```

### Checkout dotfiles

```sh
dotfiles checkout
```
Be careful with any dotfile to be kept or removed if not needed (e.g. existing `.bashrc` etc)

Optionally set `status.ShowUntrackedFiles no` to reduce the noise when running `status` command

```sh
dotfiles config --local status.ShowUntrackedFiles no
```

This will set up a git repository, you can use all the common `git` command from now on, `.cfg` will store the `.git` tracking folder.