Only show pfetch and fortune at start of terminal session

This commit is contained in:
Elnu 2023-01-21 20:00:39 -08:00
parent 322327936e
commit bb9afe7a51

View file

@ -162,6 +162,7 @@ in
command rm -f -- "$tempfile" 2>/dev/null
}
if [ -z $TERMINAL_STARTED ] && [ -z $IN_NIX_SHELL ]; then
pfetch
while true; do
f=`fortune`
@ -170,6 +171,8 @@ in
break
fi
done
TERMINAL_STARTED=1
fi
'';
};
}