diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-05-14 17:26:22 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-05-14 17:26:22 +0300 |
commit | 3a42c822e1e1ca066ddaca88a1aa85adbe32940a (patch) | |
tree | 981016f558f00ca2d04e47e9d760da9c288e2858 | |
parent | 7c58fa19e316a60b5cd9d5b5b7dc1e1551d2aae7 (diff) | |
download | liw-dot-files-3a42c822e1e1ca066ddaca88a1aa85adbe32940a.tar.gz |
bashrc: conditional source of cargo env
Sponsored-by: author
-rw-r--r-- | bashrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -193,4 +193,8 @@ fi if command -v starship > /dev/null; then eval "$(starship init bash)" fi -. "$HOME/.cargo/env" + +if [ -e "$HOME/.cargo/env" ] +then + . "$HOME/.cargo/env" +fi |