Shell: Fixed memory leak caused by fish. Closes #531

master
Dylan Araps 9 years ago
parent 3983110dbd
commit 68c9933120
  1. 3
      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/\(*\)}"

Loading…
Cancel
Save