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.

30 lines
822 B

1 year ago
9 months ago
1 year ago
  1. # .dotfiles
  2. My Arch Linux dotfiles. Most of them are personalized variants of the LARBS dotfiles.
  3. ## Required and Recommended Software
  4. ### Required
  5. - lsd
  6. - git
  7. - tmux
  8. - neovim
  9. ### Recommended
  10. - sc-im
  11. ## Migration of my dotfiles to other system
  12. ### set alias in .bashrc
  13. ```alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'```
  14. ### clone this repository
  15. ```git clone --bare https://github.com/TiynGER/.dotfiles $HOME/.dotfiles```
  16. ### checkout changes
  17. ```config checkout```
  18. ### backup old files
  19. ```mkdir -p .config-backup && \
  20. config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
  21. xargs -I{} mv {} .config-backup/{}
  22. ```
  23. ### checkout changes
  24. ```config checkout```
  25. ### set showUntrackedFiles to no
  26. ```config config --local status.showUntrackedFiles no```
  27. ### pull current setup
  28. ```config pull```