Replace ${SHELL} with "$SHELL" to fix SC2086 (shellcheck)

This commit is contained in:
Dawid Potocki committed 2019-01-14 15:26:24 +13:00
1 parent 900d5813b6
commit 865b4f9b09
32 files changed
+32 -32

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ host="$(hostname)"
os='Linux' # I'd just like to interject for a moment...
kernel="$(uname -sr)"
uptime="$(uptime | awk -F, '{sub(".*up ",x,$1);print $1}' | sed -e 's/^[ \t]*//')"
shell="$(basename ${SHELL})"
shell="$(basename "$SHELL")"
if [ -z "${WM}" ]; then
if [ "${XDG_CURRENT_DESKTOP}" ]; then