dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 8e5ac3ca3ea953ead5634c5693dc6ec9e456f784
parent 39b63f93835d31240694d159c60fd9fe2ea063bd
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat,  3 Feb 2018 22:42:36 -0500

shrc: Check hushlogin before printing motd

Diffstat:
M.shrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.shrc b/.shrc @@ -81,7 +81,7 @@ then fi fi -if [ -r /etc/motd -a -n "$DISPLAY" -a -z "$SSH_TTY" ] +if [ -r /etc/motd -a -n "$DISPLAY" -a -z "$SSH_TTY" -a ! -f "$HOME/.hushlogin" ] then [ $SHLVL -le 1 ] && cat /etc/motd fi