Add double-quotes to avoid string splitting.

This commit is contained in:
Nicolás A. Ortega Froysa 2024-12-31 11:09:36 +01:00
parent 45375ccf9a
commit 1a618bb0c1
4 changed files with 5 additions and 5 deletions

View File

@ -2,4 +2,4 @@
set -euo pipefail
install -m 755 $1 $HOME/.local/bin
install -m 755 "$1" "$HOME/.local/bin"

View File

@ -2,4 +2,4 @@
set -euo pipefail
curl ipinfo.io/$1
curl "ipinfo.io/$1"

4
setbg
View File

@ -8,7 +8,7 @@ then
exit 1
elif [ $# -eq 1 ]
then
cp $1 $HOME/.local/share/wallpaper.jpg
cp "$1" "$HOME/.local/share/wallpaper.jpg"
fi
xwallpaper --zoom $HOME/.local/share/wallpaper.jpg
xwallpaper --zoom "$HOME/.local/share/wallpaper.jpg"

View File

@ -8,4 +8,4 @@ set -euo pipefail
PORT=12800
ssh -N -D $PORT nortega@themusicinnoise.net
ssh -N -D "$PORT" nortega@themusicinnoise.net