summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
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" ;;