diff --git a/.zprofile b/.zprofile index e7cf827..3cf7c67 100644 --- a/.zprofile +++ b/.zprofile @@ -31,9 +31,12 @@ if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi +# set PATH so it includes user's .cargo/bin +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.cargo/bin:$PATH" +fi + # autoloads if [ -f "$HOME/.autoload" ] ; then . ~/.aliases fi - -export PATH="$HOME/.cargo/bin:$PATH"