u
This commit is contained in:
parent
c4c66068bb
commit
4f0f13ce72
@ -35,9 +35,8 @@ if [ ! -d $SourcePath ]
|
|||||||
then
|
then
|
||||||
echo "!!! Not existing $SourcePath, please try again"
|
echo "!!! Not existing $SourcePath, please try again"
|
||||||
else
|
else
|
||||||
echo "Copy nixhome scripts from $SourcePath"
|
echo "Linking $SourcePath/* to $HomePath"
|
||||||
pushd $HomePath
|
pushd $HomePath
|
||||||
echo "---------------------------------------------"
|
|
||||||
homescriptlist=".emacs .emacs.lisp .bashrc .bash_profile .gitignore"
|
homescriptlist=".emacs .emacs.lisp .bashrc .bash_profile .gitignore"
|
||||||
for homescript in $homescriptlist
|
for homescript in $homescriptlist
|
||||||
do
|
do
|
||||||
@ -48,10 +47,9 @@ else
|
|||||||
ln -s $SourcePath/$homescript $HomePath
|
ln -s $SourcePath/$homescript $HomePath
|
||||||
echo $HomePath/$homescript == $SourcePath/$homescript
|
echo $HomePath/$homescript == $SourcePath/$homescript
|
||||||
done
|
done
|
||||||
echo "---------------------------------------------"
|
|
||||||
popd
|
popd
|
||||||
echo "Home Setting $HomePath Complete"
|
echo "Linked $SourcePath/* to $HomePath"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Applying home setting..."
|
echo "Applying .$HomePath/.bashrc"
|
||||||
source $HomePath/.bashrc
|
source $HomePath/.bashrc
|
||||||
|
Loading…
Reference in New Issue
Block a user