Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/eckig/.dotfiles


https://github.com/eckig/.dotfiles

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

# .dotfiles

My personal dotfiles - use at your own risk.

# setup

init new repo:

```
git init --bare $HOME/.dotfiles
alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
config config status.showUntrackedFiles no
```

init new machine:
```
git clone --bare $HOME/.dotfiles
alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
config checkout
```
[source](https://news.ycombinator.com/item?id=11070797)

## setup on windows

1. Create powershell file at `$PROFILE` with
```
function config { git --git-dir=$HOME\.dotfiles\ --work-tree=$HOME $args }
```
2. `config checkout`
3. `config config status.showUntrackedFiles no`
4. Set environment variable `XDG_CONFIG_HOME` to `C:\Users\{USER}\.config` ([source](https://vi.stackexchange.com/questions/12579/neovim-setup-on-ms-windows/12596)).