diff options
author | June McEnroe <june@causal.agency> | 2022-01-17 15:09:12 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-01-17 15:09:12 -0500 |
commit | 5e1f7f0bfb01ac4c88578b7ecc20fa6b3c9b1a0f (patch) | |
tree | 80ac8a5f9a7c5d578392f6be8680cf0ff0f715d8 | |
parent | Set extended in vi (diff) | |
download | src-5e1f7f0bfb01ac4c88578b7ecc20fa6b3c9b1a0f.tar.gz src-5e1f7f0bfb01ac4c88578b7ecc20fa6b3c9b1a0f.zip |
Add ~/.cargo to PATH
Just in case I need to do Rust. My path function checks if it exists so it's not creating noise otherwise.
-rw-r--r-- | home/.profile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.profile b/home/.profile index f5c60337..bb578d21 100644 --- a/home/.profile +++ b/home/.profile @@ -1,6 +1,6 @@ _PATH=$PATH PATH= path() { test -d "$1" && PATH="${PATH}${PATH:+:}${1}"; } -for prefix in '' /usr/local /opt/local /usr ~/.local; do +for prefix in '' /usr/local /opt/local /usr ~/.local ~/.cargo; do path "${prefix}/sbin" path "${prefix}/bin" done |