rust support added

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-07-19 09:56:32 +02:00
parent 932797ab3e
commit 4d4e5f1133
4 changed files with 13 additions and 0 deletions

3
.gitmodules vendored
View file

@ -56,3 +56,6 @@
[submodule ".vim/bundle/rust.vim"]
path = .vim/bundle/rust.vim
url = https://github.com/rust-lang/rust.vim.git
[submodule ".vim/bundle/racer"]
path = .vim/bundle/racer
url = https://github.com/phildawes/racer.git

1
.vim/bundle/racer Submodule

@ -0,0 +1 @@
Subproject commit 063094b977ce6c415f91e939626f334982c0a0a3

2
.zshrc
View file

@ -49,6 +49,8 @@ PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
export PATH=$HOME/tools:$PATH
export PATH=/usr/local/heroku/bin:$PATH
export PATH=$HOME/tools/subuser/logic:$HOME/.subuser/bin:$PATH
export PATH=$HOME/dev/dotfiles/.vim/bundle/racer/target/debug:$PATH
export RUST_SRC_PATH=$HOME/dev/rust/src
export EDITOR="vim"
export KEYTIMEOUT=1

View file

@ -48,6 +48,13 @@ mkdir ~/.fonts
cp -rv "$DIR/fonts" ~/.fonts
fc-cache
#rust
curl -sSf https://static.rust-lang.org/rustup.sh | sh
cd "$DIR/.vim/bundle/racer/"
cargo build
cd "$HOME/dev/"
git clone https://github.com/rust-lang/rust.git
#rvm
gpg --recv-keys BF04FF17
curl -sSL https://get.rvm.io | bash -s stable