From ccfe283ad472d758717218d912926cf6db050f9f Mon Sep 17 00:00:00 2001 From: Guillaume Seren Date: Sun, 31 May 2020 22:08:13 +0200 Subject: [PATCH] Fix shebang to be more portable Signed-off-by: Guillaume Seren --- docs/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index a400000..3b0793f 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -57,7 +57,7 @@ And create a `post-new` hook for notmuch to call afew: $ notmuchdir=path/to/maildir/.notmuch $ mkdir -p "$notmuchdir/hooks" - $ printf > "$notmuchdir/hooks/post-new" '#!/bin/sh\n$HOME/.local/bin/afew --tag --new\n' + $ printf > "$notmuchdir/hooks/post-new" '#!/usr/bin/env sh\n$HOME/.local/bin/afew --tag --new\n' $ chmod u+x "$notmuchdir/hooks/post-new" Next Steps