Skip to content

Instantly share code, notes, and snippets.

@nikolavp
Created January 9, 2012 10:53
Show Gist options
  • Save nikolavp/1582477 to your computer and use it in GitHub Desktop.
Save nikolavp/1582477 to your computer and use it in GitHub Desktop.
TaskWarrior wrapper for single id info default command
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