dotfiles

My ~/.config directory

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
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 ',$' --color=always $argv[2..] | cut -d, -f-1
    end
end