summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2025-11-27 17:35:42 -0500
committerSam Nystrom <sam@samnystrom.dev>2025-11-27 17:35:42 -0500
commit77b295b8b0f9b73ecbda809e7843812c5f4c3737 (patch)
treebd4dffb07ab4a55e40bd6d6a06e3d0e27dede598 /.profile
parentb83a4973d6979c6c05d2a0af2c806d786f346545 (diff)
update
Diffstat (limited to '.profile')
-rw-r--r--.profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/.profile b/.profile
index 41e6817..0132791 100644
--- a/.profile
+++ b/.profile
@@ -1,6 +1,8 @@
+#!/bin/sh
+
# Add PATH entries if they aren't already in PATH
# We can't use external commands yet in case PATH is empty
-for p in /bin /sbin /usr/bin /usr/sbin /var/lib/flatpak/exports/bin /usr/local/bin /usr/local/sbin ~/.local/bin ~/.cargo/bin ~/bin; do
+for p in /command /bin /sbin /usr/bin /usr/sbin /var/lib/flatpak/exports/bin /usr/local/bin /usr/local/sbin ~/.local/bin ~/.cargo/bin ~/bin; do
case ":$PATH:" in
*:"$p":*) ;;
*) export PATH="$p:$PATH" ;;