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
- Host: GitHub
- URL: https://github.com/codepr/dotfiles
- Owner: codepr
- Created: 2015-12-04T17:06:04.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2025-09-14T12:05:26.000Z (9 months ago)
- Last Synced: 2025-09-14T14:21:52.009Z (9 months ago)
- Language: Lua
- Size: 74.7 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.