blob: 5321f3895fd614ed245e9f721ae240e8756ff373 (
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
25
26
|
# /etc/profile
export LANG=C.UTF-8
if test -z "$XDG_RUNTIME_DIR"; then
export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
fi
# Append "$1" to $PATH when not already in.
# This function API is accessible to scripts in /etc/profile.d
append_path () {
case ":$PATH:" in
*:"$1":*)
;;
*)
PATH="${PATH:+$PATH:}$1"
esac
}
append_path '/opt/rustc/bin'
append_path '/usr/local/go/bin'
append_path '/usr/local/sbin'
append_path '/usr/local/bin'
append_path '/usr/bin'
export PATH
|