-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
24 lines (18 loc) · 959 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
These are RC files and scripts I cannot live without.
Design:
1. ~/.bash_profile will source ~/.bashrc
2. ~/.bashrc will source each file of the defined "includes" variable (which by default contains ~/.bashrc_local, ~/bin/git-completion.bash and others)
3. ~/.bashrc_local should be customized per-host, it may insert more files to source in the "includes_local" variable.
Manual usage:
# change some files
git commit && git push origin master
ssh host
git fetch
git merge origin/master
make install
This will overwrite existing files in ~/bin, asking for confirmation only on overwriting of ~/.bashrc, ~/.inputrc and ~/.gitconfig. Make sure you backup them.
Also 'make install' will not touch your ~/.bash_profile. If it doesn't source ~/.bashrc, you must add the line manually.
Automatic push:
git commit && git push origin master
./push host1 host2 ...
This will force overwrite without any confirmation.