From 9fa1100c70567238a67da3acfbbb6d218305d0b2 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 26 Mar 2021 12:46:06 +0100 Subject: .bashrc: source cargo env if present --- .bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bashrc b/.bashrc index f9fc24b..a59baa5 100644 --- a/.bashrc +++ b/.bashrc @@ -105,3 +105,8 @@ export PATH=$HOME/bin:$PATH if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi + +CARGO_ENV="$HOME/.cargo/env" +if [ -f $CARGO_ENV ]; then + . $CARGO_ENV +fi -- cgit v1.2.3-54-g00ecf