Permalink
Browse files

Add a short cut "v" for "view", so I can use "t v option" now. I just…

… learn it from Pual's projectview
  • Loading branch information...
1 parent 0d10e31 commit ee2f804ab7dc51f196f25d239fcbde67fdd11233 @markwu committed Oct 17, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 v
View
6 v
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+[ "$1" = "usage" ] && exit 0
+shift
+
+"$TODO_SH" view "$@"

3 comments on commit ee2f804

@FND
FND commented on ee2f804 Oct 18, 2010

Wouldn't it be easier to create a symlink (ln -s view v)?

@markwu
Owner
markwu commented on ee2f804 Oct 18, 2010

You are right, I totally forgot we have symbolic link ... orz

@the1ts
Contributor
the1ts commented on ee2f804 Oct 18, 2010

I know symlinks seem a better solution for linux and mac users, but symlinks aren't handled very nicely on cygwin, this way works without changes across all our platforms.

Please sign in to comment.