commit 02e216d992f774a0c8ab58218f81c19ef6b8e61e
parent 7312a5acea93d202c601a7c6fed12baada2358fb
Author: Luke Smith <luke@lukesmith.xyz>
Date: Thu, 7 Feb 2019 20:54:30 -0500
removal of trailing colon
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.profile b/.profile
@@ -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"