From ad4f8ff164ebd8c7aef4e3ba028de6f4a28d7e5e Mon Sep 17 00:00:00 2001 From: Dmitry Fedotov Date: Thu, 12 Jun 2025 13:52:37 +0300 Subject: [PATCH] Add rust env --- shell/bash_profile | 2 -- shell/envs/01-path | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/shell/bash_profile b/shell/bash_profile index feec38e..3d092a5 100644 --- a/shell/bash_profile +++ b/shell/bash_profile @@ -26,8 +26,6 @@ source ${HOME}/.bashrc # Start X [[ ! ${DISPLAY} && $(tty) = /dev/tty1 ]] && exec startx - - ## [Completion] ## Completion scripts setup. Remove the following line to uninstall [ -f /home/dima/.config/.dart-cli-completion/bash-config.bash ] && . /home/dima/.config/.dart-cli-completion/bash-config.bash || true diff --git a/shell/envs/01-path b/shell/envs/01-path index e1383b4..f0e22fd 100644 --- a/shell/envs/01-path +++ b/shell/envs/01-path @@ -1,5 +1,6 @@ LOCAL_BIN=${HOME}/.local/bin GO_BIN=/usr/local/go/bin +RUST_BIN=${HOME}/.cargo/bin if [[ -d ${LOCAL_BIN} ]]; then - export PATH=${GO_BIN}:${LOCAL_BIN}:${PATH} + export PATH=${RUST_BIN}:${GO_BIN}:${LOCAL_BIN}:${PATH} fi -- 2.39.5