fish/functions/ep.fish @ 11bce44c17e9

More
author Steve Losh <steve@stevelosh.com>
date Fri, 21 Dec 2018 15:24:34 -0500
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