]> us-delaporte.pagekite.me Git - dotfiles.git/blob - bin/mn
48f98afcf5cf586b1fa0685c327966a5d3b2f5bc
[dotfiles.git] / bin / mn
1 #!/usr/bin/fish
2 set year (date +%Y)
3 set input $(string join '-' $argv)
4 set topic $(string replace -a ' ' '-' $input)
5 vim $(printf "$HOME/Journal/$year/%02d-$topic.md" (date +%m))