Hooks
- Updated examples to not rely on bash being in /bin.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# The on-add event is triggered separately for each task added. This hook
|
# The on-add event is triggered separately for each task added. This hook
|
||||||
# script can accept/reject the addition. Processing will continue.
|
# script can accept/reject the addition. Processing will continue.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
read new_task
|
read new_task
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# The on-exit event is triggered once, after all processing is complete.
|
# The on-exit event is triggered once, after all processing is complete.
|
||||||
# This hooks script has no effect on processing.
|
# This hooks script has no effect on processing.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# This hook script replaces the shadow file feature, found in Taskwarrior
|
# This hook script replaces the shadow file feature, found in Taskwarrior
|
||||||
# prior to version 2.4.0.
|
# prior to version 2.4.0.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# The on-launch event is triggered once, after initialization, before any
|
# The on-launch event is triggered once, after initialization, before any
|
||||||
# processing occurs. This hooks script has no effect on processing.
|
# processing occurs. This hooks script has no effect on processing.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# The on-modify event is triggered separately for each task modified. This hook
|
# The on-modify event is triggered separately for each task modified. This hook
|
||||||
# script can accept/reject the modification. Processing will continue.
|
# script can accept/reject the modification. Processing will continue.
|
||||||
|
|||||||
Reference in New Issue
Block a user