We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 926a587 commit c4c2a24Copy full SHA for c4c2a24
commands/host/timew
@@ -20,12 +20,11 @@ branch_name=$(git rev-parse --abbrev-ref HEAD)
20
# Extract the task ID using regex
21
if [[ $branch_name =~ T-([0-9]+) ]]; then
22
task_id="${BASH_REMATCH[1]}"
23
- result="https://${DOMAIN}/app/tasks/$task_id"
24
25
# Copy to clipboard based on OS
26
if command -v timew &> /dev/null; then
27
basename=$(basename "$PWD")
28
- timew tag $result $basename
+ timew tag $task_id $basename
29
else
30
echo "timewarrior (timew) is not installed"
31
fi
0 commit comments