5cc299c204c4

Add idea script
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 03 Jun 2018 13:13:44 -0400
parents ec33f0b16d14
children 29ed0264b02b
branches/tags (none)
files fish/functions/idea.fish

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fish/functions/idea.fish	Sun Jun 03 13:13:44 2018 -0400
@@ -0,0 +1,7 @@
+function idea -d "Record an idea"
+    hg -R ~/.plan pull -u
+    echo $argv >> ~/.plan/IDEAS.txt
+    hg -R ~/.plan ci -m 'Update'
+    hg -R ~/.plan push
+    hg -R ~/.plan push git
+end