https://github.com/pengux/dotfiles
Dotfiles
https://github.com/pengux/dotfiles
Last synced: about 2 months ago
JSON representation
Dotfiles
- Host: GitHub
- URL: https://github.com/pengux/dotfiles
- Owner: pengux
- Created: 2019-11-11T20:39:25.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-11T11:26:34.000Z (5 months ago)
- Last Synced: 2025-04-13T01:38:58.425Z (about 2 months ago)
- Language: Python
- Size: 540 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles for pengux
Use git bare repository to manage your dotfiles## Usage
### Initialization
```
cd $HOME
git clone --bare https://github.com/pengux/dotfiles $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles checkout
```### Add changes
```
dotfiles add /path/to/file
dotfiles commit -m "A short message"
dotfiles push
```
### First-time setup
```
zplug install
zplug load
nvim -c ":PackerInstall"
nvim -c "set ft=go | :GoUpdateBinaries"
systemctl --user enable --now restic-backup.timer
systemctl --user enable --now mailsync.timer
```### Setup optional tools
```
go get github.com/joho/godotenv/cmd/godotenv
```### To update tools
```
zplug update
nvim -c ":PackerInstall"
nvim -c "set ft=go | :GoUpdateBinaries"
```