rust support added
This commit is contained in:
parent
932797ab3e
commit
4d4e5f1133
4 changed files with 13 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -56,3 +56,6 @@
|
||||||
[submodule ".vim/bundle/rust.vim"]
|
[submodule ".vim/bundle/rust.vim"]
|
||||||
path = .vim/bundle/rust.vim
|
path = .vim/bundle/rust.vim
|
||||||
url = https://github.com/rust-lang/rust.vim.git
|
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
1
.vim/bundle/racer
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 063094b977ce6c415f91e939626f334982c0a0a3
|
2
.zshrc
2
.zshrc
|
@ -49,6 +49,8 @@ PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
|
||||||
export PATH=$HOME/tools:$PATH
|
export PATH=$HOME/tools:$PATH
|
||||||
export PATH=/usr/local/heroku/bin:$PATH
|
export PATH=/usr/local/heroku/bin:$PATH
|
||||||
export PATH=$HOME/tools/subuser/logic:$HOME/.subuser/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 EDITOR="vim"
|
||||||
export KEYTIMEOUT=1
|
export KEYTIMEOUT=1
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,13 @@ mkdir ~/.fonts
|
||||||
cp -rv "$DIR/fonts" ~/.fonts
|
cp -rv "$DIR/fonts" ~/.fonts
|
||||||
fc-cache
|
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
|
#rvm
|
||||||
gpg --recv-keys BF04FF17
|
gpg --recv-keys BF04FF17
|
||||||
curl -sSL https://get.rvm.io | bash -s stable
|
curl -sSL https://get.rvm.io | bash -s stable
|
||||||
|
|
Loading…
Reference in a new issue