diff --git a/neofetch b/neofetch index 8621b6ed..f2d34bd0 100755 --- a/neofetch +++ b/neofetch @@ -522,7 +522,8 @@ get_shell() { ;; "fish") - shell+="$(fish -c 'printf "%s" "$FISH_VERSION"')" + shell+="$(fish --version)" + shell="${shell/fish, version}" ;; esac shell="${shell/\(*\)}"