tv q: print TODOs first

This commit is contained in:
tv 2016-10-13 21:53:20 +02:00
parent b7cba02443
commit f81a021f0c

View file

@ -178,6 +178,11 @@ in
pkgs.writeBashBin "q" '' pkgs.writeBashBin "q" ''
set -eu set -eu
export PATH=/var/empty export PATH=/var/empty
(${q-todo}) || :
if [ "$PWD" != "$HOME" ]; then
(HOME=$PWD; ${q-todo}) || :
fi
echo
${q-cal} ${q-cal}
echo echo
${q-isodate} ${q-isodate}
@ -189,8 +194,4 @@ pkgs.writeBashBin "q" ''
(${q-online}) & (${q-online}) &
(${q-thermal_zone}) & (${q-thermal_zone}) &
wait wait
${q-todo}
if [ "$PWD" != "$HOME" ]; then
(HOME=$PWD; ${q-todo})
fi
'' ''