Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
615 B

4 years ago
  1. NC='\033[0m'
  2. RED='\033[0;31m'
  3. GREEN='\033[0;32m'
  4. ORANGE='\033[0;33m'
  5. BLUE='\033[0;34m'
  6. PURPLE='\033[0;35m'
  7. CYAN='\033[0;36m'
  8. LIGHTGRAY='\033[0;37m'
  9. DARKGRAY='\033[1;30m'
  10. LIGHTRED='\033[1;31m'
  11. LIGHTGREEN='\033[1;32m'
  12. YELLOW='\033[1;33m'
  13. LIGHTBLUE='\033[1;34m'
  14. LIGHTPURPLE='\033[1;35m'
  15. LIGHTCYAN='\033[1;36m'
  16. WHITE='\033[1;37m'
  17. COLUMNS=$(tput cols)
  18. PADDING="\t"
  19. echo -en "\n${CYAN}"
  20. figlet -w $COLUMNS -c -f nancyj "Fr1nge"
  21. echo -en ${NC}
  22. footer="${BLUE}$(whoami)${NC}${YELLOW}@${NC}${RED}$(hostname)${NC}"
  23. footer_nc="$(whoami)@$(hostname)"
  24. printf "%*s" $((($COLUMNS-${#footer_nc})/2)) ""
  25. echo -e "$footer"
  26. echo ""