Add support for fish shell version.
This commit is contained in:
parent
848270ad6f
commit
3a41060c10
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -770,6 +770,10 @@ getshell () {
|
||||||
shell=${shell/tcsh}
|
shell=${shell/tcsh}
|
||||||
shell=${shell/\(*}
|
shell=${shell/\(*}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
*"fish"*)
|
||||||
|
shell+="$("$SHELL" -c 'printf "%s" "$FISH_VERSION"')"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
shell="${shell/\(*\)}"
|
shell="${shell/\(*\)}"
|
||||||
|
|
Loading…
Reference in a new issue