*: Use /usr/bin/env in shebangs for bash & zsh

To increase the portability (OSX for example has zsh under `/bin/zsh`).
This commit is contained in:
2021-07-14 13:48:21 +02:00
parent 1fff0c584c
commit b1d396babd
19 changed files with 19 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
XDG_CONF="${XDG_CONFIG_HOME:-$HOME/.config}"
BASE_DIR="$XDG_CONF/polybar"

View File

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

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# See https://github.com/polybar/polybar-scripts/pull/237
bluetooth_print() {

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# The separation and recursion is sadly necessary since reload is apparently
# executed in a subshell and thus using an environment variable does not work

View File

@@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
echo $(curl -s https://ipinfo.io/ip)