Made Shellcheck happier
This commit is contained in:
parent
8ac1236294
commit
c470e7eaa0
1 changed files with 2 additions and 2 deletions
4
lfetch
4
lfetch
|
@ -26,12 +26,12 @@ os_info() {
|
|||
|
||||
# Get shell version
|
||||
shell_version() {
|
||||
case $(basename $SHELL) in
|
||||
case $(basename "$SHELL") in
|
||||
"bash")
|
||||
echo "Bash $BASH_VERSION"
|
||||
;;
|
||||
"zsh")
|
||||
echo "$(zsh --version)"
|
||||
zsh --version
|
||||
;;
|
||||
*)
|
||||
echo "$SHELL"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue