My ~/.config directory
function todo -d "Manage CSV todo lists" switch $argv[1] case + echo "$argv[3..],$(date -Is)," >>$argv[2] case - sed -i "$argv[3]s/\$/$(date -Is)/w/dev/stdout" $argv[2] case = grep -n ',$' $argv[2..] end end