Use /usr/bin/env shebang for bash userscripts

See #1665
This commit is contained in:
Florian Bruhin 2016-07-20 11:06:35 +02:00
parent 6130226a23
commit dfbd31f35f
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2015 Zach-Button <zachrey.button@gmail.com>
#

View File

@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash -e
# Both standalone script and qutebrowser userscript that opens a rofi menu with
# all files from the download director and opens the selected file. It works
# both as a userscript and a standalone script that is called from outside of

View File

@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash -e
help() {
blink=$'\e[1;31m' reset=$'\e[0m'
cat <<EOF

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2015 Zach-Button <zachrey.button@gmail.com>
#

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Behavior:
# Userscript for qutebrowser which adds a task to taskwarrior.

View File

@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash -e
#
# Behavior:
# Userscript for qutebrowser which views the current web page in mpv using