0d8d12f2e36b
Add the packing aliases.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Mon, 31 Aug 2009 22:03:06 -0400 |
parents | 6efacf2a4a4e |
children | cf51f4cfaddc |
branches/tags | (none) |
files | .bashrc |
Changes
--- a/.bashrc Sat Aug 29 13:40:30 2009 -0400 +++ b/.bashrc Mon Aug 31 22:03:06 2009 -0400 @@ -7,10 +7,6 @@ alias oo='open .' alias flakes="find . -name '*.py' -print0 | xargs -0 pyflakes" alias fab='fab -i ~/.ssh/stevelosh' -alias t='~/src/t/t.py --task-dir="~/tasks"' -alias m='~/src/t/t.py --task-dir="~/tasks" --list=groceries' -alias g='~/src/t/t.py --task-dir="~/tasks" --list=music' -alias b='~/src/t/t.py --list=bugs' bind 'set completion-ignore-case on' bind 'set show-all-if-ambiguous on' @@ -37,6 +33,21 @@ source ~/lib/hg/bash_completion source ~/lib/virtualenvwrapper_bashrc +# Task stuff ----------------------------------------------------------------- +alias t='~/src/t/t.py --task-dir="~/tasks"' +alias m='~/src/t/t.py --task-dir="~/tasks" --list=music' +alias g='~/src/t/t.py --task-dir="~/tasks" --list=groceries' +alias p='~/src/t/t.py --task-dir="~/tasks" --list=pack' +alias b='~/src/t/t.py --list=bugs' + +alias pa='~/src/t/t.py --task-dir="~/tasks" --list=pack-archive' +packfor() { + cp "$HOME/tasks/pack-archive" "$HOME/tasks/pack"; + touch "$HOME/tasks/.pack.done" + hg -R ~/tasks add 'pack' '.pack.done'; + hg com -m 'Starting to pack.' +} + # Useful functions ----------------------------------------------------------- pull_everything() {