Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chocobn69/dotfiles
choco dotfiles
https://github.com/chocobn69/dotfiles
dotfiles i3 i3wm mutt nvim polybar rofi vim zsh zshrc
Last synced: 13 days ago
JSON representation
choco dotfiles
- Host: GitHub
- URL: https://github.com/chocobn69/dotfiles
- Owner: chocobn69
- License: apache-2.0
- Created: 2017-02-10T10:00:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-23T07:51:27.000Z (4 months ago)
- Last Synced: 2024-10-12T00:37:30.849Z (27 days ago)
- Topics: dotfiles, i3, i3wm, mutt, nvim, polybar, rofi, vim, zsh, zshrc
- Language: Python
- Homepage:
- Size: 645 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles
## How to restore
- Add this alias in your shell
`alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'`- Ignore .cfg directory
`echo ".cfg" >> .gitignore`- Clone github repository
`git clone --bare https://github.com/chocobn69/dotfiles.git $HOME/.cfg`- Backup previously added config files
```
mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}
```- Get remote files
`config checkout`- Ignore untracked files
`config config --local status.showUntrackedFiles no`