From 97d1008f8faa3920ccd00fa5aad893f4f75e5d5a Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 23 Nov 2019 18:12:03 -0500 Subject: [PATCH] recursive PATH returns --- .zprofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zprofile b/.zprofile index 9d5f2a5..6420806 100644 --- a/.zprofile +++ b/.zprofile @@ -1,7 +1,7 @@ # Profile file. Runs on login. Environmental variables are set here. # Adds `~/.local/bin` to $PATH -export PATH="$PATH:$HOME/.local/bin/:$HOME/.local/bin/personal" +export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')" # Default programs: export EDITOR="nvim"