mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-25 05:55:01 +00:00
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 ""
|