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.

20 lines
694 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. checkout changes
  15. ```config checkout```
  16. set showUntrackedFiles to no
  17. ```config config --local status.showUntrackedFiles no```
  18. pull current setup
  19. ```config pull```