From 2fb9fa7dc5c7531962b1ae498775d13d6aa21662 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 17 Jan 2022 15:09:12 -0500 Subject: 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. --- home/.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/.profile') 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 -- cgit 1.4.1