*: 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:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
XDG_CONF="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
BASE_DIR="$XDG_CONF/polybar"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## config
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# See https://github.com/polybar/polybar-scripts/pull/237
|
||||
|
||||
bluetooth_print() {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo $(curl -s https://ipinfo.io/ip)
|
||||
|
||||
Reference in New Issue
Block a user