1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-02-06 00:53:23 +00:00

Add ~/.cargo/bin to PATH for Rust development

This commit is contained in:
Holger Just 2017-12-07 18:06:30 +01:00
parent a62385ab8d
commit 72b3927463

View File

@ -135,6 +135,11 @@ case `uname` in
*) echo "OS unknown to bashrc." ;;
esac
# Rust
if [[ -d "$HOME/.cargo/bin" ]]; then
export PATH="$HOME/.cargo/bin:$PATH"
fi
# Load RVM
if [[ -s $HOME/.rvm/scripts/rvm ]]; then
source $HOME/.rvm/scripts/rvm