Last active
August 29, 2015 14:22
-
-
Save mbarkhau/236e9d08bc33e09fb7f3 to your computer and use it in GitHub Desktop.
Installation script for rusti with racer (autocompletion) support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd rust-nightly-x86_64-unknown-linux-gnu | |
cd $HOME/rust-nightly-x86_64-unknown-linux-gnu | |
bash install.sh | |
cd $HOME | |
chown -R $USER:$USER rust-nightly-x86_64-unknown-linux-gnu | |
git clone https://github.com/murarth/rusti.git | |
chown -R $USER:$USER rusti | |
cd $HOME/rusti | |
cargo build | |
cd $HOME | |
git clone https://github.com/phildawes/racer.git | |
chown -R $USER:$USER racer | |
cd $HOME/racer | |
cargo build --release | |
echo "export RUST_SRC_PATH=$HOME/rust/src" >> "$HOME/.bashrc" | |
ln -s $HOME/racer/target/release/racer /usr/bin/racer | |
ln -s $HOME/rusti/target/debug/rusti /usr/bin/rusti |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment