moth/sh4pwn/skeleton/etc/profile

7 lines
118 B
Bash

PATH=/bin
[ $USER = root ] && PATH=/sbin:/bin
for i in /opt/*/bin; do
[ -d $i ] && PATH=$i:$PATH
done
export PATH