dev-perso: check for a TODO list and print first 5 items

This commit is contained in:
François Revol
2016-01-07 23:23:11 +01:00
parent 804718bbfb
commit d780e243ad
+6
View File
@@ -131,9 +131,15 @@ dev() {
;;
esac
# check for a TODO list
for f in TODO TODO.org; do
test -e "$f" && grep '^* ' "$f" | grep --color=always ' TODO ' | head -5 && break
done
DEVUPCMD=""
# source the specific profile file
# (which will likely cd to the checkout directory)
test -f .profile && . .profile
# if no editor defined, set one