From: Dmitry Fedotov Date: Thu, 12 Jun 2025 10:52:37 +0000 (+0300) Subject: Add rust env X-Git-Url: https://git.dmfe.net/?a=commitdiff_plain;h=HEAD;p=dotfiles Add rust env --- 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