~strahinja/dotfiles

ref: fce71a48cc9881d4e2748fbbd9fdc57d233085e8 dotfiles/profile.d/profile -rw-r--r-- 405 bytes
fce71a48Страхиња Радић Adjusted for Alpine's busybox's sed a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
profile_d=$HOME/.profile.d

# Shell-specific interactive settings
if [ -n "$KSH_VERSION" ]; then
	[ -f "$profile_d/mkshrc" ] && \
		source "$profile_d/mkshrc"
elif [ -n "$BASH_VERSION" ]; then
	[ -f "$profile_d/bashrc" ] && \
		source "$profile_d/bashrc"
fi

unset profile_d

#if echo $0 | sed '/^-/Q0;Q1'; then
if [ -n "$(echo $0 | sed 's/^\(-\?\).*/\1/g')" ]; then
	unicode_start
	pkill gpg
	startx
fi