Files
VCS/getuser.sh
T

8 lines
176 B
Bash
Raw Normal View History

2024-06-26 12:03:29 -04:00
#!/bin/bash
if [ -f "$HOME/ionsrc/creds.txt" ]; then
source "$HOME/ionsrc/creds.txt"
2024-06-26 13:21:01 -04:00
echo -e "logged in as \033[0;31m$username\e[0m!"
2024-06-26 12:03:29 -04:00
else
echo "no user found!"
fi