From 3f665b026b7c1d4d1c5af0ffe9797927962be419 Mon Sep 17 00:00:00 2001 From: Mouath Ibrahim Date: Sun, 3 Feb 2019 11:37:56 +0000 Subject: [PATCH] remove a trailing colon from the PATH --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"