summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMouath Ibrahim <iMouath@users.noreply.github.com>2019-02-03 11:37:56 +0000
committerGitHub <noreply@github.com>2019-02-03 11:37:56 +0000
commit3f665b026b7c1d4d1c5af0ffe9797927962be419 (patch)
tree971e6b82db270efa6a924b1b14d90bca72cb8b28
parent195a330f8a1a9c3af5c5cce2de6c6ba8bc5e190a (diff)
downloadeibhear-3f665b026b7c1d4d1c5af0ffe9797927962be419.tar.gz
eibhear-3f665b026b7c1d4d1c5af0ffe9797927962be419.tar.zst
eibhear-3f665b026b7c1d4d1c5af0ffe9797927962be419.zip
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"