fish/functions/ep.fish @ f64186f7a65e

More
author Steve Losh <steve@stevelosh.com>
date Wed, 24 Jul 2019 12:14:28 -0400
parents 5c7c7f2d7904
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