diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-03-26 12:46:06 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2021-03-26 12:46:06 +0100 |
commit | 9fa1100c70567238a67da3acfbbb6d218305d0b2 (patch) | |
tree | 04cf35019bd7df3f01e2a9beac38de54b1c03fc4 | |
parent | 71b720d1f604745c72f05a28e3f30a708211cd30 (diff) |
.bashrc: source cargo env if present
-rw-r--r-- | .bashrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |