mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-03-21 17:24:51 -05:00
[F] Fix shell check
This commit is contained in:
parent
4ee5344209
commit
d08a0745a5
1
neofetch
1
neofetch
|
|
@ -49,6 +49,7 @@ LANG=C
|
|||
[[ -z $GIO_EXTRA_MODULES ]] && export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/
|
||||
|
||||
# Use sed -r instead of sed -E if using GNU sed.
|
||||
# shellcheck disable=SC2218
|
||||
[[ $(sed --version 2>/dev/null) =~ GNU ]] && gnu_sed=1
|
||||
sed() {
|
||||
if [[ $gnu_sed ]]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user