u
This commit is contained in:
@@ -3,12 +3,32 @@
|
||||
echo "Usage: setup.sh"
|
||||
echo "Example: setup.sh"
|
||||
|
||||
echo "######## 安装 ##################"
|
||||
mv ~/.bashrc ~/.bashrc.backup
|
||||
echo "######## Setting Home ##################"
|
||||
|
||||
if [ -e ~/.emacs ]
|
||||
then
|
||||
mv ~/.emacs ~/.emacs.backup
|
||||
if
|
||||
ln -s /faronear/lib/sysconfig/.emacs ~/
|
||||
|
||||
if [ -e ~/.emacs.lisp ]
|
||||
then
|
||||
mv ~/.emacs.lisp ~/.emacs.lisp.backup
|
||||
if
|
||||
ln -s /faronear/lib/sysconfig/.emacs.lisp ~/
|
||||
|
||||
if [ -e ~/.bashrc ]
|
||||
then
|
||||
mv ~/.bashrc ~/.bashrc.backup
|
||||
if
|
||||
ln -s /faronear/lib/sysconfig/.bashrc ~/
|
||||
|
||||
if [ -e ~/.bash_profile ]
|
||||
then
|
||||
mv ~/.bash_profile ~/.bash_profile.backup
|
||||
if
|
||||
ln -s /faronear/lib/sysconfig/.bash_profile ~/
|
||||
|
||||
. ~/.bashrc
|
||||
git config --global credential.helper cache
|
||||
echo "######## 完毕 ##################"
|
||||
|
||||
echo "######## Home Setting Complete ##################"
|
||||
|
||||
Reference in New Issue
Block a user