Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Suggested improvement for sticky-note



Hi,
    it's fun & useful to be able to display sticky notes in blinking text, or different colours, to make them stand out or colour code them.
The attached diff implements that feature by adding the -b option to print.

Joe
99c99
<     fc -l "${@:--1}" | while read -r sticky; do print -- "$sticky"; done
---
>     fc -l "${@:--1}" | while read -r sticky; do print -b -- "$sticky"; done
123c123
<   fc -f "$@" | while read -r sticky; do print -- "$sticky"; done
---
>   fc -f "$@" | while read -r sticky; do print -b -- "$sticky"; done
132c132
<     [[ -n "$sticky" ]] && print -s -- "$sticky"
---
>     [[ -n "$sticky" ]] && print -b -s -- "$sticky"


Messages sorted by: Reverse Date, Date, Thread, Author