Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eckig/.dotfiles
https://github.com/eckig/.dotfiles
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eckig/.dotfiles
- Owner: eckig
- Created: 2022-07-05T13:30:29.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T07:30:45.000Z (9 months ago)
- Last Synced: 2024-04-10T08:33:19.651Z (9 months ago)
- Language: Lua
- Size: 153 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)).