commit a127725b91b18a3de94873594eaaffafffbea871
parent df81b5ef959958628cb209f6c001559e4ffc15aa
Author: Anders Hedman <anders.hedman01@gmail.com>
Date: Mon, 28 Sep 2026 21:48:02 +0200
feat(profile): add ~/.local/bin to PATH
Prepend ~/.local/bin when it is not already on PATH so the Hermes Agent
command is available in login shells. The case guard keeps repeated
sourcing from duplicating the entry.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.profile b/.profile
@@ -27,3 +27,6 @@ export LESS_TERMCAP_us=$'\e[1;4;31m'
# Start graphical server on tty1 if not already running.
#[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx
+
+# Hermes Agent command
+case ":$PATH:" in *":$HOME/.local/bin:"*) ;; *) export PATH="$HOME/.local/bin:$PATH" ;; esac