diff --git a/scripts/hooks/on-add b/scripts/hooks/on-add index acbfa38a8..244bdd08f 100755 --- a/scripts/hooks/on-add +++ b/scripts/hooks/on-add @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # The on-add event is triggered separately for each task added. This hook # script can accept/reject the addition. Processing will continue. diff --git a/scripts/hooks/on-add.the b/scripts/hooks/on-add.the index d2d2774bf..970ba02eb 100644 --- a/scripts/hooks/on-add.the +++ b/scripts/hooks/on-add.the @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash read new_task diff --git a/scripts/hooks/on-exit b/scripts/hooks/on-exit index ef1017f87..92a95a6ad 100755 --- a/scripts/hooks/on-exit +++ b/scripts/hooks/on-exit @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # The on-exit event is triggered once, after all processing is complete. # This hooks script has no effect on processing. diff --git a/scripts/hooks/on-exit.shadow-file b/scripts/hooks/on-exit.shadow-file index bf443c1f3..9942d2633 100755 --- a/scripts/hooks/on-exit.shadow-file +++ b/scripts/hooks/on-exit.shadow-file @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This hook script replaces the shadow file feature, found in Taskwarrior # prior to version 2.4.0. diff --git a/scripts/hooks/on-launch b/scripts/hooks/on-launch index 81bc8c49d..6f8739374 100755 --- a/scripts/hooks/on-launch +++ b/scripts/hooks/on-launch @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # The on-launch event is triggered once, after initialization, before any # processing occurs. This hooks script has no effect on processing. diff --git a/scripts/hooks/on-modify b/scripts/hooks/on-modify index 5445e7e4c..4d01d086b 100755 --- a/scripts/hooks/on-modify +++ b/scripts/hooks/on-modify @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # The on-modify event is triggered separately for each task modified. This hook # script can accept/reject the modification. Processing will continue.