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"