Switch to dash.

This commit is contained in:
the_4n0nym0u53 2022-01-03 00:46:41 +01:00
parent c9275dea37
commit a05a6a756a
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env dash
wl-copy -c
wl-copy -pc

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env dash
if [ $(id -u) -ne 0 ]; then
echo "This script must be run as root. Quitting..."

View file

@ -1,5 +1,5 @@
# 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.