From a8c017f39dceaa6feeb9ce9d9960420ed2a07937 Mon Sep 17 00:00:00 2001 From: anntnzrb Date: Tue, 1 Dec 2020 15:54:31 -0500 Subject: [PATCH] Compatibility for FreeBSD's paste(1) According to FreeBSD's [paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports), the extra `-` is needed (tested by myself). This obviously works for Linux as well, tested on Void Linux at least. > Create a colon-separated list of directories named bin, > suitable for use in the PATH environment variable: `find / -name bin -type d | paste -s -d : -` --- .config/shell/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/shell/profile b/.config/shell/profile index 51ed62a0..e7203762 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -6,7 +6,7 @@ # to clean up. # Adds `~/.local/bin` to $PATH -export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':')" +export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':' -)" unsetopt PROMPT_SP