Dotfiles for different machines on different branches.
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.

45 lines
1.2 KiB

1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
  1. # .dotfiles
  2. My debian-based/arch compatible server/root-account dotfiles.
  3. ## Required/Recommended Software
  4. ### Required
  5. - lsd
  6. - git
  7. - tmux
  8. - neovim
  9. - zsh
  10. - sc-im (recommended)
  11. #### Debian-based Systems
  12. - `apt install git tmux neovim zsh`
  13. - get the rest manually
  14. - https://github.com/Peltoche/lsd
  15. - https://github.com/andmarti1424/sc-im/wiki/Ubuntu-with-XLSX-import-&-export
  16. #### Arch-based Systems
  17. - Get the yay-AUR-pckagemanager or something similar (`pacman -S yay`).
  18. - `yay -S lsd git tmux neovim zsh sc-im`
  19. ## Migration of my dotfiles to other system
  20. - set alias in .bashrc: `alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'`
  21. - clone this repository: `git clone --bare https://github.com/Tiyn/dotfiles $HOME/.dotfiles`
  22. - optional: backup old files:
  23. ```
  24. mkdir -p .config-backup && \
  25. config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
  26. xargs -I{} mv {} .config-backup/{}
  27. ```
  28. - checkout changes: `config checkout server`
  29. - ignore untracked files: `config config --local status.showUntrackedFiles no`
  30. - pull current setup: `config pull --set-upstream origin server`
  31. - finish setup for vim:
  32. - open vim
  33. - `:PlugInstall`
  34. - `:CocInstall`
  35. - change shell to zsh: `chsh -s /bin/zsh`