From ac19390bb2cc610597e16b6a08c62519f208b419 Mon Sep 17 00:00:00 2001 From: Heavy Date: Sat, 22 Jan 2022 18:20:55 +0100 Subject: [PATCH] Added ~/.cargo/bin to PATH, if available. --- dot_bashrc.d/executable_03.ENV | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_bashrc.d/executable_03.ENV b/dot_bashrc.d/executable_03.ENV index b3ed0d7..7fb0d9f 100755 --- a/dot_bashrc.d/executable_03.ENV +++ b/dot_bashrc.d/executable_03.ENV @@ -14,6 +14,9 @@ if [ -x /usr/bin/go ]; then extendPath "$(go env GOPATH)/bin" export GOPATH=$(go env GOPATH) fi +if [ -d "$HOME/.cargo/bin" ]; then + extendPath "$HOME/.cargo/bin" +fi extendPath "$HOME/bin" extendPath "/usr/local/bin"