]> www.git.dmfe.net Git - dotfiles/commitdiff
Add rust env master
authorDmitry Fedotov <dm.fe@yandex.ru>
Thu, 12 Jun 2025 10:52:37 +0000 (13:52 +0300)
committerDmitry Fedotov <dm.fe@yandex.ru>
Thu, 12 Jun 2025 10:52:37 +0000 (13:52 +0300)
shell/bash_profile
shell/envs/01-path

index feec38e09c25d40aa74947e1f40470ef67c658e5..3d092a5a4635a82e9a163f6b8e7b1943aef317b5 100644 (file)
@@ -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
index e1383b45fde4a8516ea888df2d82a85fffcc58e0..f0e22fd6dc7c8178175fa466d6b261f26b6274b7 100644 (file)
@@ -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