fish/functions/idea.fish @ 36b1fd1bcdbd

Dont run things multiple times
author Steve Losh <steve@stevelosh.com>
date Wed, 25 Jul 2018 15:29:36 +0000
parents 5cc299c204c4
children (none)
function idea -d "Record an idea"
    hg -R ~/.plan pull -u
    echo $argv >> ~/.plan/IDEAS.txt
    hg -R ~/.plan ci -m 'Update'
    hg -R ~/.plan push
    hg -R ~/.plan push git
end