This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |