mirror of
https://gitlab.com/jschx/ufetch.git
synced 2026-10-01 05:52:34 +07:00
Replace ${SHELL} with "$SHELL" to fix SC2086 (shellcheck)
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ os="$(lsb_release -ds | tr -d \")"
|
||||
kernel="$(uname -sr)"
|
||||
uptime="$(uptime -p | sed 's/up //')"
|
||||
packages="$(yum list installed | wc -l)"
|
||||
shell="$(basename ${SHELL})"
|
||||
shell="$(basename "$SHELL")"
|
||||
|
||||
if [ -z "${WM}" ]; then
|
||||
if [ "${XDG_CURRENT_DESKTOP}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user