dotfiles

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

commit 955cad144771f15f39c09ba8aaf803c89774ffe3
parent a5170bca80410860cd93fa06b9abaa9ed3ab2c37
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Thu,  8 Feb 2018 21:10:56 -0500

Tweak printing of dotfiles check result

Diffstat:
M.shrc | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

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