all repos — dotfiles @ 31b36e5d1b955e3676d5fe61a24d331479c369d7

my *nix dotfiles

home/bin/log (view raw)

1#!/bin/sh
2# life log
3
4date="$(date "+%Y-%m-%d %H:%M:%S")"
5l="$(printf '' | xprompt "$date")"
6[ "$l" = "" ] && exit
7printf '%s\t%s\n' "$date" "$l" >> ~/log
8