aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-10-17 21:31:46 +0800
committerGuangxiong Lin <[email protected]>2023-10-17 21:31:46 +0800
commita76909cfa6c7dfa956ab71b1c82e02cc7aad3949 (patch)
treeb00569dc89bb4dea2832f002a9647763ccc9a42d
parent202e7e1910fa5886a86de119c98f8c5b06749f80 (diff)
downloaddotfiles-a76909cfa6c7dfa956ab71b1c82e02cc7aad3949.tar.gz
dotfiles-a76909cfa6c7dfa956ab71b1c82e02cc7aad3949.tar.bz2
dotfiles-a76909cfa6c7dfa956ab71b1c82e02cc7aad3949.zip
Add cargo bin into PATH
-rwxr-xr-x.path4
1 files changed, 4 insertions, 0 deletions
diff --git a/.path b/.path
index 8f0ee43..0add3e8 100755
--- a/.path
+++ b/.path
@@ -13,3 +13,7 @@ if command -v gem &> /dev/null; then
export GEM_HOME="$(gem env user_gemhome)"
export PATH="$PATH:$GEM_HOME/bin"
fi
+
+if command -v cargo &> /dev/null; then
+ export PATH="$PATH:$HOME/.cargo/bin"
+fi