blob: 4410d8eba30aefac034abb5a0d8a3ee0e0fdf4a3 (
plain) (
blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# -*- shell-script -*-
export LOCALE="en_GB.UTF-8"
export LC_ALL="en_GB.UTF-8"
export LANG="en_GB.UTF-8"
export MAIN_ALSA_CARD=0
export MAIN_ALSA_MIXER=PCM
if test -z "${XDG_RUNTIME_DIR}"; then
export XDG_RUNTIME_DIR='/tmp/.~'"$(whoami)"
fi
mkdir -p -- "${XDG_RUNTIME_DIR}"
if test -x ~/.local/bin/e; then
export EDITOR=~/.local/bin/e
elif test -x /usr/bin/emacs; then
export EDITOR="emacs -nw"
elif test -x /usr/bin/vis; then
export EDITOR="vis"
elif test -x /usr/bin/nano; then
export EDITOR="nano"
elif test -x /usr/bin/vim; then
export EDITOR="vim"
elif test -x /usr/bin/vi; then
export EDITOR="vi"
fi
export VISUAL="${EDITOR}"
for __script in ~/.config/profile.d/*; do
if test -r "${__script}"; then
. "${__script}"
fi
done
unset __script
if test -r ~/.config/"profile-$(hostname)"; then
. ~/.config/"profile-$(hostname)"
fi
if test -r ~/work/.config/profile; then
. ~/work/.config/profile
fi
|