dotfiles

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

commit 7cc4edcb4d2fb8accc2aa165a9776429384c8c38
parent b5409969bad9d34e6e9d9378ae82e8d57253f9e5
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sun,  7 Jan 2018 17:40:36 -0500

Fix scp; don't print from shrc

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

diff --git a/.shrc b/.shrc @@ -74,7 +74,7 @@ then alias vim=vi fi -if type -p fortune > /dev/null 2>&1 && [ "$SHLVL" -le 1 -o \( -n "$DISPLAY" -a -z "$SSH_TTY" -a "$SHLVL" -le 2 \) ] +if type -p fortune > /dev/null 2>&1 && [ -n "$SSH_TTY" -a "$SHLVL" -le 1 -o \( -n "$DISPLAY" -a -z "$SSH_TTY" -a "$SHLVL" -le 2 \) ] then [ -n $NEWLINE ] && echo; unset NEWLINE fortune