diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2025-11-27 17:35:42 -0500 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2025-11-27 17:35:42 -0500 |
| commit | 77b295b8b0f9b73ecbda809e7843812c5f4c3737 (patch) | |
| tree | bd4dffb07ab4a55e40bd6d6a06e3d0e27dede598 /.profile | |
| parent | b83a4973d6979c6c05d2a0af2c806d786f346545 (diff) | |
update
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" ;; |
