fish/functions/ep.fish @ fd1ced257076

More
author Steve Losh <steve@stevelosh.com>
date Thu, 28 Feb 2019 14:01:26 -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