if [ "$subtype" = "none" ]; then echo "$username@$hostname ($system_type)" else echo "$username@$hostname ($system_type/$subtype)" fi echo if [ -n "$processor" ]; then echo "cpu: $processor" fi if [ -n "$graphics" ]; then echo "gpu: $graphics" fi if [ -n "$kernel" ]; then echo "krn: $kernel" fi if [ -n "$distro" ]; then if [ "$system_type" = "windows" ]; then echo "sys:$distro" else echo "sys: $distro" fi fi if [ -n "$machine" ]; then echo "mac: $machine" fi