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.

21 lines
723 B

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