commit abf0c5b9e452e7ac18deedab0e3fbad0a56d6ddc parent a4919aeb26053b7c7f625238c538ab6069ac6b94 Author: Daniel Moch <daniel@danielmoch.com> Date: Sun, 7 Jan 2018 08:13:37 -0500 Optionally pring newline before fortune Diffstat:
M | .shrc | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.shrc b/.shrc @@ -76,5 +76,6 @@ fi if type -p fortune > /dev/null 2>&1 && [ "$SHLVL" -le 1 -o \( -n "$DISPLAY" -a "$SHLVL" -le 2 \) ] then + [ -n $NEWLINE ] && echo; unset NEWLINE fortune fi