logoalt Hacker News

serbuvladtoday at 12:06 AM1 replyview on HN

Could just put this in /etc/bashrc.

    if [[ $TERM_PROGRAM = vscode && -f /etc/motd ]]; then
      cat /etc/motd
    fi
Assuming your users use the integrated terminal regularly

Replies

godelskitoday at 2:44 AM

Tried that. But I suspect you know why it didn't work

show 1 reply