fish/functions/ep.fish @ 5c6597e57071

More
author Steve Losh <steve@stevelosh.com>
date Wed, 28 Aug 2019 09:50:26 -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