mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-25 20:47:45 +01:00
Update README.md
This commit is contained in:
parent
672e4a421e
commit
911d34f0be
36
README.md
36
README.md
@ -11,37 +11,21 @@ To take a look at all the software it installs look at the [progs.csv](https://g
|
||||
|
||||
## Migration of my dotfiles to other system
|
||||
|
||||
### set alias in .bashrc
|
||||
|
||||
`alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'`
|
||||
|
||||
### clone this repository
|
||||
|
||||
`git clone --bare https://github.com/Tiyn/dotfiles $HOME/.dotfiles`
|
||||
|
||||
### checkout changes
|
||||
|
||||
`config checkout`
|
||||
|
||||
### backup old files
|
||||
|
||||
- set alias in .bashrc: `alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'`
|
||||
- clone this repository: `git clone --bare https://github.com/Tiyn/dotfiles $HOME/.dotfiles`
|
||||
- optional: backup old files:
|
||||
```
|
||||
mkdir -p .config-backup && \
|
||||
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
|
||||
xargs -I{} mv {} .config-backup/{}
|
||||
```
|
||||
|
||||
### checkout changes
|
||||
|
||||
`config checkout`
|
||||
|
||||
### set showUntrackedFiles to no
|
||||
|
||||
`config config --local status.showUntrackedFiles no`
|
||||
|
||||
### pull current setup
|
||||
|
||||
`config pull`
|
||||
- checkout changes: `config checkout`
|
||||
- ignore untracked files: `config config --local status.showUntrackedFiles no`
|
||||
- pull current setup: `config pull`
|
||||
- finish setup for vim:
|
||||
- open vim
|
||||
- `:PlugInstall`
|
||||
- `:CocInstall`
|
||||
|
||||
## Hotkeys
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user