From 6a8a6b879d310c260daef83e01f6e2c3c255ceb3 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Mon, 20 Mar 2023 21:45:55 +0000 Subject: [PATCH] Add Rust config --- shell-common/.config/shell-common/exports.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shell-common/.config/shell-common/exports.sh b/shell-common/.config/shell-common/exports.sh index 9167414..cd26988 100644 --- a/shell-common/.config/shell-common/exports.sh +++ b/shell-common/.config/shell-common/exports.sh @@ -23,6 +23,11 @@ if [ -z ${GOROOT+x} ] && [ -d /usr/local/go ]; then export PATH=$PATH:$GOROOT/bin:$HOME/go/bin fi +# Rust stuff +if [ -f $HOME/.cargo/env ]; then + source $HOME/.cargo/env +fi + # https://github.com/oz/tz if [ -f $HOME/go/bin/tz ]; then export TZ_LIST="America/New_York,America/Los_Angeles,Europe/Paris"