Shell: Fixed memory leak caused by fish. Closes #531
This commit is contained in:
parent
3983110dbd
commit
68c9933120
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -522,7 +522,8 @@ get_shell() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"fish")
|
"fish")
|
||||||
shell+="$(fish -c 'printf "%s" "$FISH_VERSION"')"
|
shell+="$(fish --version)"
|
||||||
|
shell="${shell/fish, version}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
shell="${shell/\(*\)}"
|
shell="${shell/\(*\)}"
|
||||||
|
|
Loading…
Reference in a new issue