by serbuvlad · 2mo ago · 0 comments
if [[ $TERM_PROGRAM = vscode && -f /etc/motd ]]; then
cat /etc/motd
fi
Assuming your users use the integrated terminal regularly cat /etc/motd >&2
please >>> Assuming your users use the integrated terminal regularly
People don't use the integrated terminal regularly $ echo $TERM
xterm-256color
$ echo $TERM_PROGRAM
vscode