Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 351f8a8588
Fetching contributors…

Cannot retrieve contributors at this time

executable file 29 lines (26 sloc) 0.555 kb
#!/bin/bash
URL=http://github.com/beeman/profile.sh/tree/master/
WRKDIR=~/.myprofile
BACKUP=$WRKDIR/backup
mkdir -p $BACKUP
cd $WRKDIR
echo Downloading profile files...
FILES=(.bashrc .vimrc .bash_aliases .toprc .screenrc .profile)
for FILE in ${FILES[@]}
do
echo wget "$URL$FILE?raw=true" -O $FILE -q
#if [ -e $FILE ]
#echo Downloaded $FILE to $WRKDIR...
#then
# if [ -e ~/$FILE ];
# then
# echo Moving $FILE to $BACKUP...
# mv -f ~/$FILE* $BACKUP/
# fi
# cp -v $FILE ~/
# fi
# echo Done...
done
cd
#dircolors -p > .dircolors
#. .bashrc
Jump to Line
Something went wrong with that request. Please try again.