From 3979a5c6d158e789e65d031b1967cc6bf1ec5c69 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Fri, 3 Apr 2020 06:55:31 -0500
Subject: [PATCH] .profile: Add more brew directories

---
 .profile | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/.profile b/.profile
index e160de39..d01b6168 100755
--- a/.profile
+++ b/.profile
@@ -41,10 +41,15 @@ while [ "${PATH#:}" != "$PATH" ]; do
 done
 PATH="$desiredpath:$PATH"
 # Homebrew
-gnubin="/usr/local/opt/coreutils/libexec/gnubin"
-if [ -d "$gnubin" ]; then
-	PATH="$gnubin:$PATH"
-fi
+for dir in \
+	"/usr/local/opt/coreutils/libexec/gnubin" \
+	"/usr/local/opt/util-linux/bin" \
+	"/usr/local/opt/util-linux/sbin"
+do
+	if [ -d "$dir" ]; then
+		PATH="$dir:$PATH"
+	fi
+done
 
 # Grab bash_completion, if it exists
 [ -f "/etc/profile.d/bash_completion.sh" ] && . "/etc/profile.d/bash_completion.sh"