Skip to content

Commit

Permalink
Merge pull request #274 from GuillaumeSeren/fix-bash-shebang
Browse files Browse the repository at this point in the history
Fix shebang to be more portable
  • Loading branch information
GuillaumeSeren authored May 31, 2020
2 parents 4acff37 + ccfe283 commit 9bcecab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9bcecab

Please sign in to comment.