summary refs log tree commit diff
path: root/home/.profile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-01-17 15:09:12 -0500
committerJune McEnroe <june@causal.agency>2022-01-17 15:09:12 -0500
commit2fb9fa7dc5c7531962b1ae498775d13d6aa21662 (patch)
treecec742ef1b6162ea14d620f487bd7ca6c003f775 /home/.profile
parentSet extended in vi (diff)
downloadsrc-2fb9fa7dc5c7531962b1ae498775d13d6aa21662.tar.gz
src-2fb9fa7dc5c7531962b1ae498775d13d6aa21662.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.
Diffstat (limited to 'home/.profile')
-rw-r--r--home/.profile2
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