~strahinja/dotfiles

fce71a48cc9881d4e2748fbbd9fdc57d233085e8 — Страхиња Радић 12 days ago f3b5102
Adjusted for Alpine's busybox's sed

Signed-off-by: Страхиња Радић <contact@strahinja.org>
3 files changed, 6 insertions(+), 3 deletions(-)

M profile.d/env
M profile.d/profile
M profile.d/rc
M profile.d/env => profile.d/env +2 -1
@@ 17,7 17,8 @@ PAGER=/usr/bin/less
PATH="$HOME/bin:/usr/local/bin:$HOME/.gem/ruby/2.7.0/bin${PATH:+:}$PATH"
QT_QPA_PLATFORMTHEME=qt5ct
TERM=tmux
echo $0 | sed '/^-/Q1;Q0' && TERM=tmux-256color
#echo $0 | sed '/^-/Q1;Q0' && TERM=tmux-256color
[ -z "$(echo $0 | sed 's/^\(-\?\).*/\1/g')" ] && TERM=tmux-256color
[ -n "$YAFT" ] && TERM=yaft-256color
TZ="Europe/Belgrade"


M profile.d/profile => profile.d/profile +2 -1
@@ 11,7 11,8 @@ fi

unset profile_d

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

M profile.d/rc => profile.d/rc +2 -1
@@ 9,7 9,8 @@ profile_d=$HOME/.profile.d
[ -f /etc/bash/bashrc.d/66-colors.bashrc ] && \
	source /etc/bash/bashrc.d/66-colors.bashrc

if echo $0 | sed '/^-/Q1;Q0'; then
#if echo $0 | sed '/^-/Q1;Q0'; then
if [ -z "$(echo $0 | sed 's/^\(-\?\).*/\1/g')" ]; then
	echo
	fortune
	echo