Skip to content

Instantly share code, notes, and snippets.

@mbarkhau
Last active August 29, 2015 14:22
Show Gist options
  • Save mbarkhau/236e9d08bc33e09fb7f3 to your computer and use it in GitHub Desktop.
Save mbarkhau/236e9d08bc33e09fb7f3 to your computer and use it in GitHub Desktop.
Installation script for rusti with racer (autocompletion) support
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