replace tr '\n' 'CHAR' with paste -sd 'CHAR' (#625)

This commit is contained in:
Kian Kasad authored and GitHub committed 2020-05-09 19:32:56 -04:00
1 parent 2b6b3822e3
commit 6577acae89
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
# to clean up.
# Adds `~/.local/bin` to $PATH
export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')"
# Default programs:
export EDITOR="nvim"