fish/functions/ep.fish @ 12589666f6a3

Add script
author Steve Losh <steve@stevelosh.com>
date Mon, 22 Oct 2018 17:50:09 -0400
parents 07f9a2d5c710
children 5c7c7f2d7904
function ep -d "Edit .plan"
    switch (hostname)
    case alephnull
        cd ~/.plan
        nvim README.markdown
        git cm 'Update' -a
        git push origin master
        git push gist 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