Skip to content

Instantly share code, notes, and snippets.

@linuxcaffe
Last active August 29, 2015 14:18
Show Gist options
  • Save linuxcaffe/91db2bd136d1952b2e56 to your computer and use it in GitHub Desktop.
Save linuxcaffe/91db2bd136d1952b2e56 to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# context.psudo.sh is a tiny script that goes with
# task command alias setting, in .taskrc;
#
# alias.@:=execute context.psudo.sh
#
task rc.context:$*
#
# the desired outcome is that the following command:
# 'task @: work filter1 filter2'
# is converted to
# 'task re.context:work filter1 filter2'
# resulting in a "one-shot" context-override, with minimal keystrokes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment