From 85ae2f7cfb53dd6add9e49404e86375802ac8cb5 Mon Sep 17 00:00:00 2001 From: xenua Date: Wed, 5 Jan 2022 19:23:04 +0100 Subject: [PATCH] merge upstream changes --- runcoms/zprofile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runcoms/zprofile b/runcoms/zprofile index 5139f49..a3ade61 100644 --- a/runcoms/zprofile +++ b/runcoms/zprofile @@ -66,5 +66,9 @@ if [[ -z "$LESSOPEN" ]] && (( $#commands[(i)lesspipe(|.sh)] )); then export LESSOPEN="| /usr/bin/env $commands[(i)lesspipe(|.sh)] %s 2>&-" fi +if [ -d "$HOME/bin" ]; then + export PATH="$HOME/bin:$PATH" +fi + source .zlocal/profile 2> /dev/null || true