Merge branch 'master' of github:tiyn/dotfiles

master
tiyn 2 years ago
commit f2f39c84e8

@ -16,17 +16,22 @@ To take a look at all the software it installs look at the [progs.csv](https://g
- set alias in .bashrc: `alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'` - 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` - clone this repository: `git clone --bare https://github.com/Tiyn/dotfiles $HOME/.dotfiles`
- optional: backup old files: - optional: backup old files:
```
```sh
mkdir -p .config-backup && \ mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \ config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{} xargs -I{} mv {} .config-backup/{}
``` ```
- checkout changes: `config checkout` - checkout changes: `config checkout`
- ignore untracked files: `config config --local status.showUntrackedFiles no` - ignore untracked files: `config config --local status.showUntrackedFiles no`
- pull current setup: `config pull` - pull current setup: `config pull`
- finish setup for vim: - finish setup for vim:
- open vim - open vim and run `:PackerCompile`, and `:PackerInstall`
- `:PlugInstall`
The step containing commenting out is needed because the colorscheme has
problems being not available and disrupts the further process of the plugin
installation.
## Ignore local changes to config files ## Ignore local changes to config files

Loading…
Cancel
Save