mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-05-04 10:24:51 +00:00
e1acbfc231
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
18 lines
327 B
Bash
18 lines
327 B
Bash
# SparkOS System Profile
|
|
|
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
export PS1='SparkOS:\w\$ '
|
|
export TERM=linux
|
|
|
|
# Set HOME based on user
|
|
if [ "$(id -u)" = "0" ]; then
|
|
export HOME=/root
|
|
else
|
|
export HOME=/home/$(whoami)
|
|
fi
|
|
|
|
# Welcome message
|
|
echo "Welcome to SparkOS!"
|
|
echo "Type 'help' for available commands"
|
|
echo ""
|