mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-29 12:13:01 +02:00
Set COLORTERM instead of using -c flag. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
28 lines
487 B
Bash
28 lines
487 B
Bash
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
|
|
|
|
if [ "$PS1" ]; then
|
|
if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then
|
|
if [ -f /etc/bash.bashrc ]; then
|
|
. /etc/bash.bashrc
|
|
fi
|
|
else
|
|
if [ "`id -u`" -eq 0 ]; then
|
|
export PS1='# '
|
|
else
|
|
export PS1='$ '
|
|
fi
|
|
fi
|
|
|
|
export COLORTERM=truecolor
|
|
fi
|
|
|
|
export EDITOR='/bin/vi'
|
|
|
|
# Source configuration files from /etc/profile.d
|
|
for i in /etc/profile.d/*.sh ; do
|
|
if [ -r "$i" ]; then
|
|
. $i
|
|
fi
|
|
done
|
|
unset i
|