Skip to content

Instantly share code, notes, and snippets.

View micheldegeofroy's full-sized avatar

Michel de Geofroy micheldegeofroy

View GitHub Profile
#!/bin/sh
# motd is generated with empty environment. This ensures that TERM is set, so that colors are displayed properly
# src: https://unix.stackexchange.com/a/417223/31104
export TERM="${TERM:-xterm-256color}"
# RED=$(tput setaf 1)
# GREEN=$(tput setaf 2)
# YELLOW=$(tput setaf 3)
# BLUE=$(tput setaf 4)