fish/functions/ep.fish @ 9d8af88da734

Christ
author Steve Losh <steve@stevelosh.com>
date Mon, 26 Aug 2019 18:29:46 -0400
parents f64186f7a65e
children 5233df61134b
function ep -d "Edit .plan"
    switch (hostname)
    case alephnull
        cd ~/.plan
        nvim README.markdown
        make
        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