mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Remove unused auxiliary script task_functions.sh
The definitions contained in this file were used only by the already
removed 'context' bash script, see: fc6507803b
This commit is contained in:
parent
f74c1c9e9a
commit
c20883af15
1 changed files with 0 additions and 26 deletions
|
@ -1,26 +0,0 @@
|
||||||
CONFIRM_PROMPT='are you sure'
|
|
||||||
task_config ()
|
|
||||||
{
|
|
||||||
var="${1}"
|
|
||||||
shift
|
|
||||||
value="${@}"
|
|
||||||
echo y | task config $var "$value" | grep -iv "$CONFIRM_PROMPT"
|
|
||||||
}
|
|
||||||
task_vars ()
|
|
||||||
{
|
|
||||||
task _show | grep "^.*${1}.*=" | cut -d'=' -f1
|
|
||||||
}
|
|
||||||
task_get ()
|
|
||||||
{
|
|
||||||
task _show | grep "^${1}=" | cut -d'=' -f2
|
|
||||||
}
|
|
||||||
task_color ()
|
|
||||||
{
|
|
||||||
color="${1}"
|
|
||||||
shift
|
|
||||||
text="${@}"
|
|
||||||
task rc.verbose=nothing rc._forcecolor=yes color ${color} | grep 'task color' | \
|
|
||||||
tail -n 1 | sed -e 's/^ //' -e "s/task color ${color}/${text}/"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue