From a257d046efbedc2fe79a637106406671898ed87d Mon Sep 17 00:00:00 2001 From: "Z. Grace Moreau" Date: Mon, 18 Jan 2021 11:20:11 -0700 Subject: [PATCH] remove spurious call to $fish_pid --- Library/Homebrew/cmd/shellenv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/shellenv.sh b/Library/Homebrew/cmd/shellenv.sh index 0f129677e0..39327d20fc 100644 --- a/Library/Homebrew/cmd/shellenv.sh +++ b/Library/Homebrew/cmd/shellenv.sh @@ -6,7 +6,7 @@ #: Consider adding evaluation of this command's output to your dotfiles (e.g. `~/.profile`, `~/.bash_profile`, or `~/.zprofile`) with: `eval $(brew shellenv)` homebrew-shellenv() { - case "$(/bin/ps -p ${PPID:-$fish_pid} -c -o comm=)" in + case "$(/bin/ps -p $PPID -c -o comm=)" in fish|-fish) echo "set -gx HOMEBREW_PREFIX \"$HOMEBREW_PREFIX\";" echo "set -gx HOMEBREW_CELLAR \"$HOMEBREW_CELLAR\";"