dotfiles/README.md

20 lines
645 B
Markdown
Raw Normal View History

2019-02-12 17:45:44 +00:00
# Dotfiles
2020-01-21 21:40:40 +00:00
My dotfiles. If you want to use them fork or clone the repo. Each branch has specific dotfiles for one of my machines
2019-02-12 17:45:44 +00:00
## Requirements
2022-01-07 18:12:46 +00:00
* [git](https://git-scm.com/), [zsh](http://www.zsh.org/) and [bat](https://github.com/sharkdp/bat)
2019-02-12 17:45:44 +00:00
## Usage
* `echo ".dotfiles" >> .gitignore`
2022-01-07 18:12:46 +00:00
* `git clone --bare git@git.namesny.com:Mathis/dotfiles.git $HOME/.dotfiles`
2019-02-12 17:45:44 +00:00
* `alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'`
2022-01-20 09:55:59 +00:00
* `config submodule init`
* `config submodule update`
2019-02-12 17:45:44 +00:00
* `config checkout`
* `source .zshrc`
## [Full Guide](https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/)