add display of "- XX (MM-DD) " calendar entries for today in doing view
This commit is contained in:
parent
a7d7d6c587
commit
30a8149475
10
clikan.sh
10
clikan.sh
|
@ -98,7 +98,7 @@ showprompt(){
|
|||
|
||||
# display all 'something' cards
|
||||
showall(){
|
||||
local f
|
||||
local f t
|
||||
case $1 in
|
||||
d*) f='*' ;;
|
||||
w*) f='-' ;;
|
||||
|
@ -107,7 +107,13 @@ showall(){
|
|||
esac
|
||||
echo
|
||||
echo " $1"
|
||||
cat $kbs | getlines "$f" | showselect "$f " | head -n $maxshow
|
||||
{ cat $kbs | getlines "$f"
|
||||
if test "$f" = "*"
|
||||
# for doing, also display '- NN (MM-DD) ' calendar entries
|
||||
then t=`date +%m-%d`
|
||||
cat $kbs | grep "^[*+-] .. ($t) " | sed -e 's/^. //'
|
||||
fi
|
||||
} | showselect "$f " | head -n $maxshow
|
||||
}
|
||||
|
||||
# replace lines (in any kanban) containing some ed pattern
|
||||
|
|
Loading…
Reference in New Issue