~strahinja/dotfiles

ref: f3b5102378cf7e8f737edb1b294e197414d6a726 dotfiles/profile.d/profile -rw-r--r-- 349 bytes
f3b51023Страхиња Радић bin/{t,c}sv*: Output usage after variable initialization a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
	unicode_start
	pkill gpg
	startx
fi