mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-10-14 10:20:04 +00:00
Replace ${SHELL} with "$SHELL" to fix SC2086 (shellcheck)
This commit is contained in:
32 files changed
+32
-32
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user