Last active
August 29, 2015 14:18
-
-
Save linuxcaffe/91db2bd136d1952b2e56 to your computer and use it in GitHub Desktop.
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
#!/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