fish/functions/ep.fish @ 1cb6fe38b946

More
author Steve Losh <steve@stevelosh.com>
date Wed, 03 Oct 2018 11:07:08 -0700
parents 25d490edffa6
children 51b9c5b3b301
function ep -d "Edit .plan"
    switch (hostname)
    case alephnull
        cd ~/.plan
        nvim README.markdown
        git cm 'Update' -a
    case '*'
        hg -R ~/.plan pull -u
        nvim ~/.plan/README.markdown
        hg -R ~/.plan ci -m 'Update'
        hg -R ~/.plan push
        hg -R ~/.plan push git
    end
end