Commit 68c99331 authored by Dylan Araps's avatar Dylan Araps

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

parent 3983110d
...@@ -522,7 +522,8 @@ get_shell() { ...@@ -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/\(*\)}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment