summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-02-07 20:54:23 -0500
committerGitHub <noreply@github.com>2019-02-07 20:54:23 -0500
commit31a211cc8bc07f614d4cac0b814a1fad8ab51f8b (patch)
tree44cb9df795c3763066f46b57ab5f197154c5f3f4
parent6454c6941a909e4c382c8a3baf269424f1eef105 (diff)
parent3f665b026b7c1d4d1c5af0ffe9797927962be419 (diff)
downloadeibhear-31a211cc8bc07f614d4cac0b814a1fad8ab51f8b.tar.gz
eibhear-31a211cc8bc07f614d4cac0b814a1fad8ab51f8b.tar.zst
eibhear-31a211cc8bc07f614d4cac0b814a1fad8ab51f8b.zip
Merge pull request #208 from iMouath/patch-1
remove a trailing colon from the PATH
-rw-r--r--.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.profile b/.profile
index 838c9f0..2163cff 100644
--- 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"