Merge git.namesny.com:Mathis/dotfiles into desktop/common
This commit is contained in:
commit
634232ed31
9
.vimrc
9
.vimrc
|
@ -1,9 +0,0 @@
|
||||||
syntax on
|
|
||||||
|
|
||||||
filetype plugin indent on
|
|
||||||
" show existing tab with 4 spaces width
|
|
||||||
set tabstop=4
|
|
||||||
" when indenting with '>', use 4 spaces width
|
|
||||||
set shiftwidth=4
|
|
||||||
" On pressing tab, insert 4 spaces
|
|
||||||
set expandtab
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Dotfiles
|
||||||
|
|
||||||
|
My dotfiles. If you want to use them fork or clone the repo. Each branch has specific dotfiles for one of my machines
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
* [git](https://git-scm.com/), [zsh](http://www.zsh.org/) and [bat](https://github.com/sharkdp/bat)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
* `echo ".dotfiles" >> .gitignore`
|
||||||
|
* `git clone --bare git@git.namesny.com:Mathis/dotfiles.git $HOME/.dotfiles`
|
||||||
|
* `alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'`
|
||||||
|
* `config submodule init`
|
||||||
|
* `config submodule update`
|
||||||
|
* `config checkout`
|
||||||
|
* `source .zshrc`
|
||||||
|
|
||||||
|
## [Full Guide](https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/)
|
Loading…
Reference in New Issue