Comment by serbuvlad
17 hours ago
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
17 hours ago
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
please
Tried that. But I suspect you know why it didn't work
I don't
I suspect vscode claims to xterm-256 and doesn't bother to identify itself in any other way
1 reply →