3 ms·
I like it. The following todone definition will add a strikethrough to lines marked as done rather than deleting them (your terminal emulator must support the r
by asb 16y ago
I like it. The following todone definition will add a strikethrough to lines marked as done rather than deleting them (your terminal emulator must support the relevant control code to display it properly).
function todone() { sed -i -e "/$*/s/.*/\o033[9m&\o033[0m/" $TODO; }
edit: gnome-terminal supports this, but it seems xterm and putty do not