- Updated examples to not rely on bash being in /bin.
This commit is contained in:
Paul Beckingham
2015-02-07 10:25:50 -05:00
parent 8b28c36485
commit 8e730f2da3
6 changed files with 6 additions and 6 deletions

View File

@@ -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.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
read new_task read new_task

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.