Created
January 9, 2012 10:53
-
-
Save nikolavp/1582477 to your computer and use it in GitHub Desktop.
TaskWarrior wrapper for single id info default command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task(){ | |
if [[ $# -eq '1' ]] && [[ "$1" =~ ^[0-9]+$ ]] ; then | |
command task $1 info | |
else | |
command task $@ | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment