fish/functions/ep.fish @ c15e0d8e066d

More
author Steve Losh <steve@stevelosh.com>
date Tue, 21 May 2019 13:40:33 -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