summaryrefslogtreecommitdiff
path: root/system/skeleton/etc/profile
blob: e44e56892e8254a3a5d4202afbc7907ef8eedade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export PATH=\
/bin:\
/sbin:\
/usr/bin:\
/usr/sbin

if [ "$PS1" ]; then
    if [ "`id -u`" -eq 0 ]; then
        export PS1='# '
    else
        export PS1='$ '
    fi
fi

export PAGER='/bin/more '
export EDITOR='/bin/vi'

# Source configuration files from /etc/profile.d
for i in /etc/profile.d/*.sh ; do
    if [ -r "$i" ]; then
        . $i
    fi
    unset i
done