From 729a1d449741d6fb5db774dc06015d6188fef6d3 Mon Sep 17 00:00:00 2001 From: xenua Date: Wed, 5 Jan 2022 19:41:20 +0100 Subject: [PATCH] actually have it working --- runcoms/zprofile | 4 ---- runcoms/zshrc | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runcoms/zprofile b/runcoms/zprofile index a3ade61..5139f49 100644 --- a/runcoms/zprofile +++ b/runcoms/zprofile @@ -66,9 +66,5 @@ 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 diff --git a/runcoms/zshrc b/runcoms/zshrc index c18c0d8..e3faed6 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -28,5 +28,9 @@ if type pyenv > /dev/null; then eval "$(pyenv init -)" fi +if [ -d "$HOME/bin" ]; then + export PATH="$HOME/bin:$PATH" +fi + source .zlocal/rc 2> /dev/null || true