You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.2 KiB

# .dotfiles
4 years ago
My debian-based/arch compatible server/root-account dotfiles.
## Required/Recommended Software
4 years ago
### Required
4 years ago
- lsd
- git
- tmux
- neovim
4 years ago
- zsh
- sc-im (recommended)
4 years ago
#### Debian-based Systems
4 years ago
- `apt install git tmux neovim zsh`
- get the rest manually
- https://github.com/Peltoche/lsd
- https://github.com/andmarti1424/sc-im/wiki/Ubuntu-with-XLSX-import-&-export
4 years ago
#### Arch-based Systems
4 years ago
- 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
4 years ago
- 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/{}
```
4 years ago
- checkout changes: `config checkout server`
- ignore untracked files: `config config --local status.showUntrackedFiles no`
- pull current setup: `config pull --set-upstream origin server`
- finish setup for vim:
- open vim
- `:PlugInstall`
- `:CocInstall`
- change shell to zsh: `chsh -s /bin/zsh`