Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvllow/dots
Minimalist developer setup
https://github.com/mvllow/dots
devtools dotfiles
Last synced: 3 months ago
JSON representation
Minimalist developer setup
- Host: GitHub
- URL: https://github.com/mvllow/dots
- Owner: mvllow
- Created: 2019-09-17T20:28:24.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-07T04:20:17.000Z (4 months ago)
- Last Synced: 2024-10-19T08:17:04.120Z (3 months ago)
- Topics: devtools, dotfiles
- Language: Lua
- Homepage:
- Size: 12 MB
- Stars: 53
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: .github/readme.md
Awesome Lists containing this project
README
# dots
> A bare repo resembling your `$HOME`
## Usage
Clone to a temporary directory:
```sh
git clone --separate-git-dir=$HOME/dots.git \
https://github.com/mvllow/dots.git \
dots-tmp
```Copy working tree snapshot to the home directory, then delete the temporary directory:
```sh
rsync --recursive --verbose --exclude '.git' dots-tmp/ $HOME/
rm -rf dots-tmp
```Optionally, add an alias to use git with this new structure:
```sh
alias .git='git --git-dir=$HOME/dots.git/ --work-tree=$HOME'
```Optionally, hide untracked files—you will have to manually add new files:
```sh
.git config --local status.showUntrackedFiles no
```Change upstream from https to ssh:
```sh
.git remote set-url origin [email protected]:mvllow/dots.git
```## References
- [macOS setup](https://github.com/mvllow/dots/wiki/macOS-setup)
- [Using a custom shell](https://github.com/mvllow/dots/wiki/Using-a-custom-shell)
- [Signing git commits](https://github.com/mvllow/dots/wiki/Signing-git-commits)
- [Update kitty config from neovim](https://github.com/mvllow/dots/wiki/Update-kitty-config-from-neovim)