Made the initial setup script re-runnable
This commit is contained in:
parent
53501ca19e
commit
b7bb29250a
1 changed files with 9 additions and 2 deletions
|
@ -48,16 +48,23 @@ rm -f ~/.config/terminator/config
|
|||
ln "$DIR/.config/terminator/config" ~/.config/terminator/config
|
||||
|
||||
#install fonts
|
||||
mkdir ~/.fonts
|
||||
mkdir -p ~/.fonts
|
||||
cp -rv "$DIR/fonts" ~/.fonts
|
||||
fc-cache
|
||||
|
||||
#rust
|
||||
echo "installing rust"
|
||||
curl -sSf https://static.rust-lang.org/rustup.sh | bash -s -- -y
|
||||
cd "$DIR/.vim/bundle/racer/"
|
||||
cargo build
|
||||
cd "$DIR/../"
|
||||
echo "getting rust sources..."
|
||||
if [[ ! -d rust ]]; then
|
||||
git clone https://github.com/rust-lang/rust.git
|
||||
else
|
||||
cd rust
|
||||
git pull
|
||||
fi
|
||||
|
||||
#rvm
|
||||
gpg --recv-keys BF04FF17
|
||||
|
|
Loading…
Reference in a new issue