diff options
| author | anntnzrb <51257127+anntnzrb@users.noreply.github.com> | 2020-12-01 18:21:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 18:21:03 -0500 |
| commit | 7c96bd081ac25faea8144aaa8c770aaf31bd558a (patch) | |
| tree | 6d5a0d74412a7f85d2ff3fa7448ad8ea56049aa7 /.config/shell/profile | |
| parent | 1065e316117048ad21b920a74903ae930a50d412 (diff) | |
| download | eibhear-7c96bd081ac25faea8144aaa8c770aaf31bd558a.tar.gz eibhear-7c96bd081ac25faea8144aaa8c770aaf31bd558a.tar.zst eibhear-7c96bd081ac25faea8144aaa8c770aaf31bd558a.zip | |
Compatibility for FreeBSD's paste(1) (#853)
* 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 : -`
* 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 : -`
Diffstat (limited to '.config/shell/profile')
| -rw-r--r-- | .config/shell/profile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/shell/profile b/.config/shell/profile index 51ed62a..e720376 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 |
