# HG changeset patch # User Steve Losh # Date 1467286920 0 # Node ID aeab9d321fea0cc0e86c1c12ef20534e357ba829 # Parent 774253fee5f6df9bb1b3c514624283f6661d284b Add fish functions diff -r 774253fee5f6 -r aeab9d321fea fish/functions/dump.fish --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fish/functions/dump.fish Thu Jun 30 11:42:00 2016 +0000 @@ -0,0 +1,15 @@ +function dump -d "dump to/from the internet" + hg -R ~/.plan push + + hg -R ~/src/bones push + hg -R ~/src/bones push git + + hg -R ~/src/mazes push + hg -R ~/src/mazes push git + + hg -R ~/src/coding-math push + + hg -R ~/lib/dotfiles push + + offlineimap -qf INBOX +end diff -r 774253fee5f6 -r aeab9d321fea fish/functions/ep.fish --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fish/functions/ep.fish Thu Jun 30 11:42:00 2016 +0000 @@ -0,0 +1,3 @@ +function ep -d "Edit .plan" + vim ~/.plan/README.markdown; and hg -R ~/.plan ci -m 'Update' +end diff -r 774253fee5f6 -r aeab9d321fea fish/functions/wget-single.fish --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fish/functions/wget-single.fish Thu Jun 30 11:42:00 2016 +0000 @@ -0,0 +1,3 @@ +function wget-single -d "wget a single page" + wget --no-parent --timestamping --convert-links --page-requisites --no-directories --no-host-directories --span-hosts --adjust-extension $argv +end diff -r 774253fee5f6 -r aeab9d321fea fish/functions/wget-site.fish --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fish/functions/wget-site.fish Thu Jun 30 11:42:00 2016 +0000 @@ -0,0 +1,3 @@ +function wget-site -d "wget an entire site" + wget --mirror --convert-links --adjust-extension --page-requisites --no-parent --wait=1 $argv +end