dotfiles/README.md

24 lines
781 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
2023-02-06 21:12:48 +00:00
## Install
2024-05-25 20:57:31 +00:00
`curl https://git.namesny.com/Mathis/dotfiles/raw/branch/main/install.sh | zsh -s -- <branch name>`
2023-02-06 21:12:48 +00:00
## Manual install
2019-02-12 17:45:44 +00:00
* `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'`
2023-02-04 20:18:15 +00:00
* `config checkout <branch-name>`
2022-01-20 09:55:59 +00:00
* `config submodule init`
* `config submodule update`
2019-02-12 17:45:44 +00:00
* `source .zshrc`
## [Full Guide](https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/)