recursive PATH returns

This commit is contained in:
Luke Smith
2019-11-23 18:12:03 -05:00
parent efccd7cbb7
commit 97d1008f8f

View File

@@ -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"