From 3a41060c103250e56f2c6430b41fb7f3c47316a4 Mon Sep 17 00:00:00 2001 From: John Bertagnolli Date: Fri, 20 May 2016 19:16:53 -0600 Subject: [PATCH] Add support for fish shell version. --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index 15d4ee14..851f428d 100755 --- a/neofetch +++ b/neofetch @@ -770,6 +770,10 @@ getshell () { shell=${shell/tcsh} shell=${shell/\(*} ;; + + *"fish"*) + shell+="$("$SHELL" -c 'printf "%s" "$FISH_VERSION"')" + ;; esac shell="${shell/\(*\)}"