Update README.md

server
Marten 4 years ago committed by GitHub
parent bdf13fdb0e
commit 841e616701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,38 +1,45 @@
# .dotfiles # .dotfiles
My debian-based/arch compatible server/root account dotfiles.
My debian-based/arch compatible server/root-account dotfiles.
## Required/Recommended Software ## Required/Recommended Software
### Required ### Required
- lsd - lsd
- git - git
- tmux - tmux
- neovim - neovim
- zsh (highly recommended) (change shell with: ```chsh -s /bin/zsh```) - zsh
- sc-im (recommended) - sc-im (recommended)
#### Debian-based Systems #### Debian-based Systems
- ```apt install git tmux neovim zsh```
- `apt install git tmux neovim zsh`
- get the rest manually - get the rest manually
- https://github.com/Peltoche/lsd - https://github.com/Peltoche/lsd
- https://github.com/andmarti1424/sc-im/wiki/Ubuntu-with-XLSX-import-&-export - https://github.com/andmarti1424/sc-im/wiki/Ubuntu-with-XLSX-import-&-export
#### Arch-based Systems #### Arch-based Systems
- Get the yay-AUR-pckagemanager or something similar (```pacman -S yay```).
- ```yay -S lsd git tmux neovim zsh sc-im``` - Get the yay-AUR-pckagemanager or something similar (`pacman -S yay`).
- `yay -S lsd git tmux neovim zsh sc-im`
## Migration of my dotfiles to other system ## Migration of my dotfiles to other system
### 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 - clone this repository: `git clone --bare https://github.com/Tiyn/dotfiles $HOME/.dotfiles`
```git clone --bare https://github.com/tiyn/dotfiles $HOME/.dotfiles``` - optional: backup old files:
### checkout changes ```
```config checkout server``` mkdir -p .config-backup && \
### backup old files
```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 - checkout changes: `config checkout server`
```config checkout server -f``` - ignore untracked files: `config config --local status.showUntrackedFiles no`
### set showUntrackedFiles to no - pull current setup: `config pull --set-upstream origin server`
```config config --local status.showUntrackedFiles no``` - finish setup for vim:
### pull current setup - open vim
```config pull --set-upstream origin server``` - `:PlugInstall`
- `:CocInstall`
- change shell to zsh: `chsh -s /bin/zsh`

Loading…
Cancel
Save