#!/usr/bin/env bash

SEP="########################################################################"
# Basic stats
echo "User:   $(whoami)"
echo "Dir:    $(pwd)"
echo "OS:     $OSTYPE"
echo "TZ:     $(date +%Z)"
echo "Groups: $(groups | tr ' ' ',')"

printf "\n%s\n" "$SEP"

# List of directories that contain all commands
echo "Current execution PATH dir(s):"
echo "$PATH" | tr ":" "\n" | sort | sed 's/^/    /'

printf "\n%s\n" "$SEP"

# Git installation info
echo "git version:  $(git --version)"
echo "git location: $(which git)"

printf "\n%s\n" "$SEP"
