remove a trailing colon from the PATH

This commit is contained in:
Mouath Ibrahim 2019-02-03 11:37:56 +00:00 committed by GitHub
parent 195a330f8a
commit 3f665b026b

View file

@ -2,7 +2,7 @@
# Profile file. Runs on login.
# Adds `~/.scripts` and all subdirectories to $PATH
export PATH="$PATH:$(du "$HOME/.scripts/" | cut -f2 | tr '\n' ':')"
export PATH="$PATH:$(du "$HOME/.scripts/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
export EDITOR="nvim"
export TERMINAL="st"
export BROWSER="firefox"