Add double-quotes to avoid string splitting.
This commit is contained in:
parent
45375ccf9a
commit
1a618bb0c1
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
install -m 755 $1 $HOME/.local/bin
|
install -m 755 "$1" "$HOME/.local/bin"
|
||||||
|
2
iplocate
2
iplocate
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
curl ipinfo.io/$1
|
curl "ipinfo.io/$1"
|
||||||
|
4
setbg
4
setbg
@ -8,7 +8,7 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
elif [ $# -eq 1 ]
|
elif [ $# -eq 1 ]
|
||||||
then
|
then
|
||||||
cp $1 $HOME/.local/share/wallpaper.jpg
|
cp "$1" "$HOME/.local/share/wallpaper.jpg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
xwallpaper --zoom $HOME/.local/share/wallpaper.jpg
|
xwallpaper --zoom "$HOME/.local/share/wallpaper.jpg"
|
||||||
|
@ -8,4 +8,4 @@ set -euo pipefail
|
|||||||
|
|
||||||
PORT=12800
|
PORT=12800
|
||||||
|
|
||||||
ssh -N -D $PORT nortega@themusicinnoise.net
|
ssh -N -D "$PORT" nortega@themusicinnoise.net
|
||||||
|
Loading…
Reference in New Issue
Block a user