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.

38 lines
1.2 KiB

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 (highly recommended) (change shell with: ```chsh -s /bin/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
  21. ```alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'```
  22. ### clone this repository
  23. ```git clone --bare https://github.com/TiynGER/.dotfiles $HOME/.dotfiles```
  24. ### checkout changes
  25. ```config checkout server```
  26. ### backup old files
  27. ```mkdir -p .config-backup && \
  28. config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
  29. xargs -I{} mv {} .config-backup/{}
  30. ```
  31. ### checkout changes
  32. ```config checkout server -f```
  33. ### set showUntrackedFiles to no
  34. ```config config --local status.showUntrackedFiles no```
  35. ### pull current setup
  36. ```config pull --set-upstream origin server```