Switch to dash.
This commit is contained in:
parent
c9275dea37
commit
a05a6a756a
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env dash
|
||||||
|
|
||||||
wl-copy -c
|
wl-copy -c
|
||||||
wl-copy -pc
|
wl-copy -pc
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env dash
|
||||||
|
|
||||||
if [ $(id -u) -ne 0 ]; then
|
if [ $(id -u) -ne 0 ]; then
|
||||||
echo "This script must be run as root. Quitting..."
|
echo "This script must be run as root. Quitting..."
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Scripts
|
# Scripts
|
||||||
|
|
||||||
For these custom scripts to work, you need to add `$HOME/.local/bin` to your `PATH`.
|
For these custom scripts to work, you need to add `$HOME/.local/bin` to your `PATH`. If you use my Zsh config, this is already taken care of.
|
||||||
|
|
||||||
If you use my Zsh config, this is already taken care of.
|
My scripts use the `dash` shell as the interpreter (the shebang line), so install that to use them. Othewise, change `#!/usr/bin/env dash` to `#!/usr/bin/env bash` or anything else that suits you.
|
||||||
|
|
Loading…
Reference in a new issue