fish/functions/ep.fish @ a99f17704db4

More
author Steve Losh <steve@stevelosh.com>
date Sat, 13 Apr 2019 10:05:32 -0400
parents 5c7c7f2d7904
children f64186f7a65e
function ep -d "Edit .plan"
    switch (hostname)
    case alephnull
        cd ~/.plan
        nvim README.markdown
        git cm 'Update' -a
        git push origin master
        cd -
    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