From 9c7625dba4ac6431526aef5a67634629125cc409 Mon Sep 17 00:00:00 2001 From: xenua Date: Wed, 13 Apr 2022 10:26:03 +0200 Subject: [PATCH] add .cargo/bin and .local/bin to optional paths --- runcoms/zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/runcoms/zshrc b/runcoms/zshrc index 133397b..b71c24c 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -32,5 +32,13 @@ if [ -d "$HOME/bin" ]; then export PATH="$HOME/bin:$PATH" fi +if [ -d "$HOME/.local/bin"]; then + export PATH="$HOME/.local/bin:$PATH" +fi + +if [ -d "$HOME/.cargo/bin" ]; then + export PATH="$HOME/.cargo/bin:$PATH" +fi + source $HOME/.zlocal/rc 2> /dev/null || true