File tree 1 file changed +12
-20
lines changed
1 file changed +12
-20
lines changed Original file line number Diff line number Diff line change 1
1
#! zsh
2
- # diff ~/.aliases .aliases
3
- # diff ~/.emacs.d/init.el .emacs.d
4
- # diff ~/.gitconfig .gitconfig
5
- # diff ~/.gitignore_global .gitignore_global
6
- # diff ~/.zprofile .zprofile
7
- # diff ~/.zshenv .zshenv
8
- # diff ~/.zshrc .zshrc
9
- # read -s -k '?Press enter to continue.'
10
- cp -v ~ /.zshenv .
11
- cp -v ~ /.zprofile .
12
- cp -v ~ /.zshrc .
13
- cp -v ~ /.zlogin .
14
- cp -v ~ /.aliases .
15
- # do NOT copy .uhg-zshrc
16
- cp -v ~ /.emacs.d/init.el .emacs.d
17
- cp -v -R ~ /.emacs.d/el .emacs.d
18
- cp -v -R ~ /.emacs.d/elpa .emacs.d
19
- cp -v ~ /.gitconfig .
20
- cp -v ~ /.gitignore_global .
21
- # cp -v -R /opt/usrbin/* ./opt/usrbin
2
+
3
+ # NOTE: do NOT copy .*-uhg
4
+ rsync --out-format=" %f" --update ~ /.zshenv .
5
+ rsync --out-format=" %f" --update ~ /.zprofile .
6
+ rsync --out-format=" %f" --update ~ /.zshrc .
7
+ rsync --out-format=" %f" --update ~ /.zlogin .
8
+ rsync --out-format=" %f" --update ~ /.aliases .
9
+ rsync --out-format=" %f" --update ~ /.gitconfig .
10
+ rsync --out-format=" %f" --update ~ /.gitignore_global .
11
+ rsync --out-format=" %f" --update ~ /.emacs.d/init.el .emacs.d
12
+ rsync --delete --out-format=" %f" --update --recursive ~ /.emacs.d/el .emacs.d
13
+ rsync --delete --out-format=" %f" --update --recursive ~ /.emacs.d/elpa .emacs.d
You can’t perform that action at this time.
0 commit comments